optionally add btrbk to syslog group
parent
b91eb36ca9
commit
135c6c3715
|
@ -15,6 +15,15 @@
|
||||||
- wheel
|
- wheel
|
||||||
append: true
|
append: true
|
||||||
|
|
||||||
|
- name: additional groups to btrbk
|
||||||
|
user:
|
||||||
|
name: btrbk
|
||||||
|
groups: "{{item}}"
|
||||||
|
append: true
|
||||||
|
when: item in ansible_facts.getent_group
|
||||||
|
with_items:
|
||||||
|
- syslog
|
||||||
|
|
||||||
- name: make sure btrbk owns its home
|
- name: make sure btrbk owns its home
|
||||||
file:
|
file:
|
||||||
state: directory
|
state: directory
|
||||||
|
|
Loading…
Reference in New Issue