good fuck

This commit is contained in:
iRaven 2025-04-10 02:30:47 -05:00
parent 6511cddca7
commit 4e24ae528a

View File

@ -55,7 +55,7 @@
name: ansible
groups: wheel
append: yes
when: wheel in ansible_facts.getent_group
when: "'wheel' in ansible_facts.getent_group"
# Ansible user SSH pub key
# This is a really stupid way to do it, but alas.
@ -112,21 +112,21 @@
name: nhadmin
groups: wheel
append: yes
when: wheel in ansible_facts.getent_group
when: "'wheel' in ansible_facts.getent_group"
- name: Add nhadmin to sudo group.
user:
name: nhadmin
groups: sudo
append: yes
when: wheel 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: wheel in ansible_facts.getent_group
when: "'systemd-journal' in ansible_facts.getent_group"
# Sysadmin user SSH pub key