diff --git a/linux/compliance_Alpine.yaml b/linux/compliance_Alpine.yaml index e8553b7..79f364c 100644 --- a/linux/compliance_Alpine.yaml +++ b/linux/compliance_Alpine.yaml @@ -1,10 +1,10 @@ --- ## Checks/deploys a Linux system to be managed with Ansible. -- name: Gather all system groups - ansible.builtin.getent: - database: group - split: ':' +# - name: Gather all system groups +# ansible.builtin.getent: +# database: group +# split: ':' # Add doas package - name: Install doas (for Alpine systems). @@ -23,7 +23,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. @@ -41,7 +41,6 @@ owner: ansible group: ansible -# Add required packages because Debian is lame - name: Install standard packages if not already installed. # Looking at you LXCs. >.> ansible.builtin.package: @@ -74,7 +73,8 @@ name: nhadmin groups: wheel append: yes - when: "'wheel' in ansible_facts.getent_group" + # when: "'wheel' in ansible_facts.getent_group" + # Sysadmin user SSH pub key # This is a really stupid way to do it, but alas. # This uses an environment variable named nhadmin_key in Semaphore which has the ssh-rsa pubkey.