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:
parent
11c0871b42
commit
e88ccc2c09
@ -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'] }
|
||||
|
12
roles/phrik/tasks/main.yml
Normal file
12
roles/phrik/tasks/main.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user