get rid of getent (again)
This commit is contained in:
@@ -48,11 +48,11 @@
|
||||
name: nhadmin
|
||||
groups: sudo
|
||||
append: yes
|
||||
when: "'sudo' in ansible_facts.getent_group"
|
||||
# when: "'sudo' in ansible_facts.getent_group"
|
||||
|
||||
- name: Add nhadmin to systemd-journal group.
|
||||
user:
|
||||
name: nhadmin
|
||||
groups: systemd-journal
|
||||
append: yes
|
||||
when: "'systemd-journal' in ansible_facts.getent_group"
|
||||
# when: "'systemd-journal' in ansible_facts.getent_group"
|
||||
Reference in New Issue
Block a user