Ansible-Linux_Base/roles/base/tasks/main.yml
2021-09-01 17:31:49 -06:00

22 lines
379 B
YAML

---
# file: roles/base/tasks/main.yml
- name: "### Core Tasks ###"
include_tasks:
file: core.yml
tags:
- always
- name: "### Debian Family ###"
include_tasks:
file: debian.yml
when: ansible_os_family == "Debian"
tags:
- always
- name: "### RedHat Family ###"
include_tasks:
file: redhat.yml
when: ansible_os_family == "RedHat"
tags:
- always