compliance - OS specific tasks more defined
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user