make a basic playbook for a box we will probably throwaway later

This commit is contained in:
Stephen Smoogen 2019-05-10 17:13:01 +00:00
parent a84ca8e339
commit 887da3a225

View file

@ -1,5 +1,5 @@
# This is a basic playbook
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=nagios"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=grobisplitter"
- name: make the box be real
hosts: nagios
@ -21,24 +21,7 @@
- hosts
- fas_client
- collectd/base
- { role: rsyncd, when: datacenter == 'phx2' }
- sudo
- { role: openvpn/client,
when: env != "staging" }
- mod_wsgi
- role: keytab/service
owner_user: apache
owner_group: apache
service: HTTP
host: "nagios{{env_suffix}}.fedoraproject.org"
when: datacenter == 'phx2'
- role: keytab/service
owner_user: apache
owner_group: apache
service: HTTP
host: "nagios-external{{env_suffix}}.fedoraproject.org"
when: datacenter != 'phx2'
tasks:
- import_tasks: "{{ tasks_path }}/2fa_client.yml"