mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Try just installing sudo for non-darwin machines
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
- name: Install sudo package
|
||||
ansible.builtin.package:
|
||||
name: sudo
|
||||
when: ansible_os_family in ['Debian', 'RedHat', 'FreeBSD']
|
||||
when: ansible_os_family != 'Darwin'
|
||||
|
||||
- name: Ensure sudoers directory exists
|
||||
ansible.builtin.file:
|
||||
|
||||
Reference in New Issue
Block a user