Ansible-Linux_Base/roles/base/tasks/main.yml

23 lines
379 B
YAML
Raw Normal View History

2021-09-01 17:31:49 -06:00
---
# 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