]> git.phdru.name Git - ansible.git/blob - playbooks/roles/debian-phd/tasks/create.yml
Feat(run-role): Run a role using a universal playbook
[ansible.git] / playbooks / roles / debian-phd / tasks / create.yml
1 - name: Create system groups
2   become: true
3   group:
4     name: "{{ item }}"
5     system: true
6   loop: "{{ system_groups.split(',') }}"
7
8 - name: Create group phd
9   become: true
10   group:
11     name: phd
12
13 - name: Add user phd
14   become: true
15   user:
16     name: phd
17     group: phd
18     groups: "{{ system_groups }}"