mono-infrastructure/ansible/playbooks/import-rockyusers.yml

19 lines
540 B
YAML
Raw Normal View History

2020-12-10 07:33:09 +00:00
---
2020-12-10 07:42:05 +00:00
# Creates the first set of users for the IdM Infrastructure. This
# should create both regular and admin accounts for separation of
# privilege.
2020-12-10 07:33:09 +00:00
- name: "Creating Initial Accounts"
ipauser:
ipaadmin_password: "{{ ipaadmin_password }}"
name: "{{ item.name }}"
first: "{{ item.first }}"
last: "{{ item.last }}"
email: "{{ item.email }}"
password: "{{ item.password }}"
title: "{{ item.title }}"
loginshell: "{{ item.loginshell }}"
update_password: on_create
loop: "{{ users }}"
tags:
- users