only use become when we are not root
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user