ansible/playbooks/restart_unbound.yml
Kevin Fenzi 0acfaa2a7e Fix handlers, roles, and tasks to be handlers_path, roles_path and tasks_path so as not to conflict with ansible variables.
Fix duplicate definition of become default that was in group_vars/all as well as vars/global.
2017-04-13 15:46:14 +00:00

16 lines
361 B
YAML

# This playboook restarts unbound on a host
#
# requires --extra-vars="target=somevhostname"
#
- name: find instances
hosts: "{{ target }}"
gather_facts: False
user: root
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- include: "{{ tasks_path }}/restart_unbound.yml"