mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-03-25 21:20:18 +00:00
Adding znc user, and cleaning up errant whitespace in user ymls
This commit is contained in:
@@ -42,3 +42,4 @@
|
|||||||
- include: users/k4j.yml
|
- include: users/k4j.yml
|
||||||
- include: users/ultima.yml
|
- include: users/ultima.yml
|
||||||
- include: users/ragnarok.yml
|
- include: users/ragnarok.yml
|
||||||
|
- include: users/znc.yml
|
||||||
|
|||||||
16
roles/shell/tasks/users/znc.yml
Normal file
16
roles/shell/tasks/users/znc.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
- name: add group znc
|
||||||
|
group:
|
||||||
|
name: znc
|
||||||
|
system: yes
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Add the user znc
|
||||||
|
user:
|
||||||
|
name: znc
|
||||||
|
system: yes
|
||||||
|
shell: /bin/false
|
||||||
|
groups: znc
|
||||||
|
create_home: yes
|
||||||
|
home: /var/lib/znc
|
||||||
|
state: present
|
||||||
Reference in New Issue
Block a user