Commit 9a46997a authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

phrik: add phrik user and group

Add phrik group and user, add demize to the phrik group
parent 07bb6a98
......@@ -141,6 +141,7 @@ arch_users:
ssh_key: demize.pub
groups:
- tu
- phrik
djgera:
name: "Gerardo Exequiel Pozzi"
ssh_key: djgera.pub
......@@ -423,3 +424,6 @@ arch_users:
ssh_key: zorun.pub
groups:
- tu
phrik_group_users:
- demize
......@@ -14,6 +14,7 @@
- { role: archusers, tags: ['archusers'] }
- { role: nginx, letsencrypt_validation_dir: "/var/lib/letsencrypt", tags: ["nginx"] }
- { role: sudo, tags: ['sudo', 'archusers'] }
- { role: phrik, tags: ['phrik'] }
- { role: postgres, tags: ['postgres'] }
- { role: quassel, quassel_domain: "quassel.archlinux.org", tags: ['quassel'] }
- { role: matrix, matrix_domain: "matrix.archlinux.org", matrix_server_name: "archlinux.org", tags: ['matrix'] }
......
---
- name: add phrik group
group: name=phrik gid=1100 state=present
- name: add phrik user
user: name=phrik group=phrik comment="phrik IRC bot" createhome=yes shell="/bin/false"
- name: ading users to phrik group
user: groups=phrik name="{{ item }}" append=yes
with_items: "{{ phrik_group_users }}"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment