1
0
Fork 0
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:
Jon Ellis 2022-06-07 23:05:21 +01:00
parent 942daa46cf
commit 5a90d1dcf4

View file

@ -9,7 +9,7 @@
- name: Install sudo package - name: Install sudo package
ansible.builtin.package: ansible.builtin.package:
name: sudo name: sudo
when: ansible_os_family in ['Debian', 'RedHat', 'FreeBSD'] when: ansible_os_family != 'Darwin'
- name: Ensure sudoers directory exists - name: Ensure sudoers directory exists
ansible.builtin.file: ansible.builtin.file: