infra/roles/bind/tasks/main.yml
2018-10-02 10:16:46 +04:00

16 lines
348 B
YAML

---
- name: prepare config for role
block:
- include_vars:
file: "conf/stacks/{{stack_name}}/apps/bind.yml"
name: bind
- set_fact: {'bind_{{item.key}}': '{{item.value}}'}
with_dict: "{{bind}}"
- set_fact:
ansible_distribution: "ALT"
ansible_os_family: "ALT"
- name: execute actual role
import_role: name=bind-role