13 lines
401 B
YAML
13 lines
401 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"
|