2018-08-22 18:42:52 +00:00
|
|
|
---
|
2018-08-23 12:29:20 +00:00
|
|
|
- name: Add deploy users
|
2018-08-22 19:14:04 +00:00
|
|
|
user:
|
2018-08-22 19:18:18 +00:00
|
|
|
name: "{{ item.username }}"
|
|
|
|
password: "{{ item.password }}"
|
2019-05-11 16:30:41 +00:00
|
|
|
group: "{{ item.group }}"
|
2019-05-12 04:39:55 +00:00
|
|
|
groups: "{{ item.groups }}"
|
2018-08-22 19:51:47 +00:00
|
|
|
uid: "{{ item.uid }}"
|
2019-02-08 08:14:50 +00:00
|
|
|
shell: "{{ prompt_place['stdout'] }}"
|
2019-03-06 08:28:19 +00:00
|
|
|
state: present
|
2018-08-23 12:29:20 +00:00
|
|
|
with_items: "{{ deploy_users }}"
|
|
|
|
|
|
|
|
- name: Add me
|
|
|
|
user:
|
|
|
|
name: "{{ item.username }}"
|
|
|
|
password: "{{ item.password }}"
|
2019-05-11 16:30:41 +00:00
|
|
|
group: "{{ item.group }}"
|
2018-08-23 12:29:20 +00:00
|
|
|
uid: "{{ item.uid }}"
|
2019-04-18 13:48:08 +00:00
|
|
|
shell: "{{ prompt_place['stdout'] }}"
|
2019-03-06 08:28:19 +00:00
|
|
|
state: present
|
2018-08-23 12:29:20 +00:00
|
|
|
with_items: "{{ me }}"
|