2015-08-18 19:26:55 +00:00
|
|
|
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=unbound"
|
2014-02-11 17:25:56 +00:00
|
|
|
|
|
|
|
- name: make the box be real
|
|
|
|
hosts: unbound
|
|
|
|
user: root
|
|
|
|
gather_facts: True
|
|
|
|
|
|
|
|
vars_files:
|
|
|
|
- /srv/web/infra/ansible/vars/global.yml
|
2015-01-09 22:59:18 +00:00
|
|
|
- "/srv/private/ansible/vars.yml"
|
2014-02-11 17:25:56 +00:00
|
|
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
|
|
|
|
|
|
roles:
|
|
|
|
- base
|
|
|
|
- rkhunter
|
2016-02-23 02:33:30 +00:00
|
|
|
- nagios/client
|
2014-06-23 00:49:31 +00:00
|
|
|
- hosts
|
2014-02-11 17:25:56 +00:00
|
|
|
- fas_client
|
2014-03-21 13:41:06 +00:00
|
|
|
- collectd/base
|
2014-02-11 17:25:56 +00:00
|
|
|
- unbound
|
2014-06-14 20:58:52 +00:00
|
|
|
- sudo
|
2014-08-01 18:23:40 +02:00
|
|
|
- { role: openvpn/client,
|
|
|
|
when: env != "staging" }
|
2014-02-11 17:25:56 +00:00
|
|
|
|
|
|
|
tasks:
|
2017-04-13 15:46:14 +00:00
|
|
|
- include: "{{ tasks_path }}/yumrepos.yml"
|
|
|
|
- include: "{{ tasks_path }}/2fa_client.yml"
|
|
|
|
- include: "{{ tasks_path }}/motd.yml"
|
2014-02-11 17:25:56 +00:00
|
|
|
|
|
|
|
handlers:
|
2017-04-13 15:46:14 +00:00
|
|
|
- include: "{{ handlers_path }}/restart_services.yml"
|