2014-02-11 17:25:56 +00:00
|
|
|
- name: make unbound
|
|
|
|
hosts: unbound
|
|
|
|
user: root
|
|
|
|
gather_facts: False
|
2014-05-19 15:22:24 +00:00
|
|
|
accelerate: "{{ accelerated }}"
|
2014-02-11 17:25:56 +00:00
|
|
|
|
|
|
|
vars_files:
|
|
|
|
- /srv/web/infra/ansible/vars/global.yml
|
|
|
|
- "{{ private }}/vars.yml"
|
|
|
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
- include: "{{ tasks }}/virt_instance_create.yml"
|
|
|
|
- include: "{{ tasks }}/accelerate_prep.yml"
|
|
|
|
|
|
|
|
handlers:
|
|
|
|
- include: "{{ handlers }}/restart_services.yml"
|
|
|
|
|
|
|
|
- name: make the box be real
|
|
|
|
hosts: unbound
|
|
|
|
user: root
|
|
|
|
gather_facts: True
|
2014-05-19 15:22:24 +00:00
|
|
|
accelerate: "{{ accelerated }}"
|
2014-02-11 17:25:56 +00:00
|
|
|
|
|
|
|
vars_files:
|
|
|
|
- /srv/web/infra/ansible/vars/global.yml
|
|
|
|
- "{{ private }}/vars.yml"
|
|
|
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
|
|
|
|
|
|
roles:
|
|
|
|
- base
|
|
|
|
- rkhunter
|
|
|
|
- denyhosts
|
|
|
|
- nagios_client
|
|
|
|
- fas_client
|
2014-03-21 13:41:06 +00:00
|
|
|
- collectd/base
|
2014-02-11 17:25:56 +00:00
|
|
|
- unbound
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
- include: "{{ tasks }}/hosts.yml"
|
|
|
|
- include: "{{ tasks }}/yumrepos.yml"
|
|
|
|
- include: "{{ tasks }}/2fa_client.yml"
|
|
|
|
- include: "{{ tasks }}/motd.yml"
|
|
|
|
- include: "{{ tasks }}/sudo.yml"
|
|
|
|
- include: "{{ tasks }}/openvpn_client.yml"
|
|
|
|
|
|
|
|
handlers:
|
|
|
|
- include: "{{ handlers }}/restart_services.yml"
|
|
|
|
- include: "{{ handlers }}/semanage.yml"
|