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 }}"
|
2018-08-22 19:51:47 +00:00
|
|
|
uid: "{{ item.uid }}"
|
2018-08-22 19:14:04 +00:00
|
|
|
shell: /bin/zsh
|
2018-08-23 12:29:20 +00:00
|
|
|
with_items: "{{ deploy_users }}"
|
|
|
|
|
|
|
|
- name: Add me
|
|
|
|
user:
|
|
|
|
name: "{{ item.username }}"
|
|
|
|
password: "{{ item.password }}"
|
|
|
|
uid: "{{ item.uid }}"
|
|
|
|
shell: /bin/zsh
|
|
|
|
with_items: "{{ me }}"
|
2018-08-25 09:05:56 +00:00
|
|
|
when: not minimal or not server
|
2018-08-22 18:42:52 +00:00
|
|
|
|