compliance - OS specific tasks more defined

This commit is contained in:
2025-11-30 18:45:39 -06:00
parent 94cd4d522b
commit 99ef7828bf
2 changed files with 10 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
---
## Checks/deploys an Alpine Linux system to be managed with Ansible.
- name: Install standard packages if not already installed.
- name: Alpine - Install standard packages if not already installed.
# Looking at you LXCs. >.>
ansible.builtin.package:
name:
@@ -15,7 +15,7 @@
state: present
# Give ansible doas rights with no password required.
- name: Add doas rights with no password for deployment user
- name: Alpine - Add doas rights with no password for deployment user
lineinfile:
dest: /etc/doas.conf
regexp: '^ansible'
@@ -23,7 +23,7 @@
state: present
validate: 'doas -C %s'
- name: Add nhadmin to wheel group.
- name: Alpine - Add nhadmin to wheel group.
user:
name: nhadmin
groups: wheel