make a minimal playbook for cloud-noc
This commit is contained in:
parent
43c5b47eb6
commit
1005be1d5c
2 changed files with 31 additions and 0 deletions
|
@ -4,6 +4,7 @@ nrpe_procs_crit: 1000
|
|||
datacenter: cloud
|
||||
nm: 255.255.255.0
|
||||
gw: 209.132.184.254
|
||||
fas_client_groups: sysadmin-main
|
||||
dns: 8.8.8.8
|
||||
eth0_ip: 209.132.184.17
|
||||
eth1_ip: 172.23.0.17
|
||||
|
|
30
playbooks/hosts/cloud-noc01.cloud.fedoraproject.org.yml
Normal file
30
playbooks/hosts/cloud-noc01.cloud.fedoraproject.org.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
# This is a basic playbook
|
||||
|
||||
- name: make cloud noc hardware
|
||||
user: root
|
||||
accelerate: "{{ accelerated }}"
|
||||
gather_facts: True
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "{{ private }}/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
roles:
|
||||
- base
|
||||
- rkhunter
|
||||
- { role: denyhosts, when: ansible_distribution_major_version != '7' }
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- collectd/base
|
||||
- sudo
|
||||
|
||||
tasks:
|
||||
- include: "{{ tasks }}/yumrepos.yml"
|
||||
- include: "{{ tasks }}/2fa_client.yml"
|
||||
- include: "{{ tasks }}/motd.yml"
|
||||
|
||||
handlers:
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue