15 lines
495 B
YAML
15 lines
495 B
YAML
---
|
||
# - name: "Определяем ОС"
|
||
# set_fact:
|
||
# os_family: "{{ ansible_facts['os_family'] }}"
|
||
|
||
# - name: "Подключаем таски для RedHat совместимых"
|
||
# include_tasks: "redhat/main.yaml"
|
||
# when: os_family == "RedHat"
|
||
|
||
# - name: "Подключаем таски для Debian/Ubuntu совместимых"
|
||
# include_tasks: "debian/main.yaml"
|
||
# when: os_family == "Debian"
|
||
|
||
- name: "Подключаем таски"
|
||
include_tasks: "role/main.yaml" |