ansible/playbooks/hosts/cloud-noc01.cloud.fedoraproject.org.yml

32 lines
666 B
YAML
Raw Normal View History

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
- "/srv/private/ansible/vars.yml"
2014-08-26 00:31:17 +00:00
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
- base
- rkhunter
- 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:
- 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