good fuck
This commit is contained in:
parent
6511cddca7
commit
4e24ae528a
@ -55,7 +55,7 @@
|
|||||||
name: ansible
|
name: ansible
|
||||||
groups: wheel
|
groups: wheel
|
||||||
append: yes
|
append: yes
|
||||||
when: wheel in ansible_facts.getent_group
|
when: "'wheel' in ansible_facts.getent_group"
|
||||||
|
|
||||||
# Ansible user SSH pub key
|
# Ansible user SSH pub key
|
||||||
# This is a really stupid way to do it, but alas.
|
# This is a really stupid way to do it, but alas.
|
||||||
@ -112,21 +112,21 @@
|
|||||||
name: nhadmin
|
name: nhadmin
|
||||||
groups: wheel
|
groups: wheel
|
||||||
append: yes
|
append: yes
|
||||||
when: wheel in ansible_facts.getent_group
|
when: "'wheel' in ansible_facts.getent_group"
|
||||||
|
|
||||||
- name: Add nhadmin to sudo group.
|
- name: Add nhadmin to sudo group.
|
||||||
user:
|
user:
|
||||||
name: nhadmin
|
name: nhadmin
|
||||||
groups: sudo
|
groups: sudo
|
||||||
append: yes
|
append: yes
|
||||||
when: wheel in ansible_facts.getent_group
|
when: "'sudo' in ansible_facts.getent_group"
|
||||||
|
|
||||||
- name: Add nhadmin to systemd-journal group.
|
- name: Add nhadmin to systemd-journal group.
|
||||||
user:
|
user:
|
||||||
name: nhadmin
|
name: nhadmin
|
||||||
groups: systemd-journal
|
groups: systemd-journal
|
||||||
append: yes
|
append: yes
|
||||||
when: wheel in ansible_facts.getent_group
|
when: "'systemd-journal' in ansible_facts.getent_group"
|
||||||
|
|
||||||
|
|
||||||
# Sysadmin user SSH pub key
|
# Sysadmin user SSH pub key
|
||||||
|
Loading…
x
Reference in New Issue
Block a user