infra/roles/bind/tasks/main.yml

16 lines
348 B
YAML
Raw Normal View History

2018-10-02 09:12:23 +03:00
---
- 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