1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-20 10:41:47 +02:00

phrik: add phrik user and group

Add phrik group and user, add demize to the phrik group
This commit is contained in:
Jelle van der Waa 2017-06-20 22:26:57 +02:00
parent 11c0871b42
commit e88ccc2c09
2 changed files with 13 additions and 0 deletions

View File

@ -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'] }

View File

@ -0,0 +1,12 @@
---
- name: add phrik group
group: name=phrik gid=1100 state=present
- name: add phrik user
user: name=phrik group=phrik uid=1100 comment="phrik IRC bot" createhome=yes
- name: ading users to phrik group
user: groups=phrik name="{{ item }}" append=yes
with_items:
- demize