configure bzflag

This commit is contained in:
Ubergeek 2019-02-06 00:28:52 +00:00
parent 10688092f0
commit 90346e6453
4 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# Configure bzflag
---
- name: Create home dirs for bzflag
file:
path: /var/lib/bzflag
state: directory
owner: bzflag
group: root
mode: 0770
recurse: yes
#- name: Install znc user script
# copy:
# src: ../files/var/lib/znc/create-znc_account.sh
## dest: /var/lib/znc/create-znc_account.sh
# owner: znc
## group: root
# mode: 0770

View File

@ -12,6 +12,7 @@
- 25
- 79
- 1326
- 5154
- name: Create UFW udp rules
ufw:
@ -21,6 +22,7 @@
with_items:
- "60000:61000"
- 1326
- 5154
- name: Create limits
ufw:

View File

@ -54,3 +54,4 @@
- include: users/bercik.yml
- include: users/khuxkm.yml
- include: users/z00t.yml
- include: users/bzflag.yml

View File

@ -0,0 +1,16 @@
---
- name: add group bzflag
group:
name: bzflag
system: yes
state: present
- name: Add the user bzflag
user:
name: bzflag
system: yes
shell: /bin/false
groups: bzflag
create_home: yes
home: /var/lib/bzflag
state: present