2014-08-26 00:31:17 +00:00
|
|
|
# This is a basic playbook
|
|
|
|
|
|
|
|
- name: make cloud noc hardware
|
2014-08-26 00:39:23 +00:00
|
|
|
hosts: cloud-noc01.cloud.fedoraproject.org
|
2014-08-26 00:31:17 +00:00
|
|
|
user: root
|
|
|
|
gather_facts: True
|
|
|
|
|
2016-08-08 19:36:31 +00:00
|
|
|
vars_files:
|
2014-08-26 00:31:17 +00:00
|
|
|
- /srv/web/infra/ansible/vars/global.yml
|
2015-01-09 22:59:18 +00:00
|
|
|
- "/srv/private/ansible/vars.yml"
|
2014-08-26 00:31:17 +00:00
|
|
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
|
|
|
|
|
|
roles:
|
|
|
|
- base
|
|
|
|
- rkhunter
|
2017-05-05 22:12:33 +00:00
|
|
|
- nagios_client
|
2014-08-26 00:31:17 +00:00
|
|
|
- hosts
|
|
|
|
- fas_client
|
|
|
|
- collectd/base
|
|
|
|
- sudo
|
2014-08-26 20:23:17 +00:00
|
|
|
- dhcp_server
|
|
|
|
- tftp_server
|
2014-08-26 00:31:17 +00:00
|
|
|
|
|
|
|
tasks:
|
2017-10-17 17:37:03 +00:00
|
|
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
|
|
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
|
|
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
2014-08-26 00:31:17 +00:00
|
|
|
|
|
|
|
handlers:
|
2017-10-15 20:33:11 +00:00
|
|
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
2014-08-26 00:31:17 +00:00
|
|
|
|