Ansible_workstation/tasks/users.yml

19 lines
384 B
YAML

---
- name: Add deploy users
user:
name: "{{ item.username }}"
password: "{{ item.password }}"
uid: "{{ item.uid }}"
shell: /bin/zsh
with_items: "{{ deploy_users }}"
- name: Add me
user:
name: "{{ item.username }}"
password: "{{ item.password }}"
uid: "{{ item.uid }}"
shell: /bin/zsh
with_items: "{{ me }}"
when: not minimal or not server