mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Try just installing sudo for non-darwin machines
This commit is contained in:
parent
942daa46cf
commit
5a90d1dcf4
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue