ansible/playbooks/restart_unbound.yml

17 lines
356 B
YAML
Raw Normal View History

# This playboook restarts unbound on a host
#
# requires --extra-vars="target=somevhostname"
#
- name: find instances
hosts: "{{ target }}"
gather_facts: False
user: root
2013-12-20 21:12:26 +00:00
vars_files:
2013-12-20 18:22:31 +00:00
- /srv/web/infra/ansible/vars/global.yml
2014-01-06 18:22:18 +00:00
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
2013-12-20 18:22:31 +00:00
tasks:
2013-12-20 18:22:31 +00:00
- include: "{{ tasks }}/restart_unbound.yml"