machine_setup/ansible/roles/doas/tasks/common.yaml

12 lines
212 B
YAML
Raw Normal View History

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