machine_setup/ansible/roles/sudo/tasks/main.yaml
2022-10-11 20:36:59 -04:00

12 lines
212 B
YAML

- name: Install packages
package:
name:
- sudo
state: present
- import_tasks: tasks/freebsd.yaml
when: 'os_flavor == "freebsd"'
- import_tasks: tasks/linux.yaml
when: 'os_flavor == "linux"'