initial work users role

This commit is contained in:
Vincent V.d Kussen 2018-08-07 21:23:08 +02:00
parent 7f67fa4c60
commit 47ef7a7045
4 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,8 @@
---
- name: Ensure groups exist
group:
name: "{{ item.name }}"
gid: "{{ item.gid | default(ommit) }}"
state: present
with_items: groups

12
roles/users/vars/main.yml Normal file
View file

@ -0,0 +1,12 @@
---
groups:
-
users:
- remember
- direct
- degree
- sand
- grief
- jam
- king

7
site.yaml Normal file
View file

@ -0,0 +1,7 @@
---
- name: Manage user configuration
hosts: all
remote_user: root
roles:
- users

0
site.yml Normal file
View file