sudo/doas check for Alpine Linux
This commit is contained in:
@@ -26,6 +26,15 @@
|
|||||||
name:
|
name:
|
||||||
- sudo
|
- sudo
|
||||||
state: present
|
state: present
|
||||||
|
when: "ansible_distribution != 'Alpine'"
|
||||||
|
|
||||||
|
# Add doas package
|
||||||
|
- name: Install doas (for Alpine systems).
|
||||||
|
ansible.builtin.package:
|
||||||
|
name:
|
||||||
|
- doas
|
||||||
|
state: present
|
||||||
|
when: "ansible_distribution == 'Alpine'"
|
||||||
|
|
||||||
# APT Cacher-NG Configuration
|
# APT Cacher-NG Configuration
|
||||||
- name: Add APT-Cacher-NG Configuration
|
- name: Add APT-Cacher-NG Configuration
|
||||||
|
Reference in New Issue
Block a user