make a basic playbook for a box we will probably throwaway later
This commit is contained in:
parent
a84ca8e339
commit
887da3a225
1 changed files with 1 additions and 18 deletions
|
@ -1,5 +1,5 @@
|
||||||
# This is a basic playbook
|
# 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
|
- name: make the box be real
|
||||||
hosts: nagios
|
hosts: nagios
|
||||||
|
@ -21,24 +21,7 @@
|
||||||
- hosts
|
- hosts
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- { role: rsyncd, when: datacenter == 'phx2' }
|
|
||||||
- sudo
|
- 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:
|
tasks:
|
||||||
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
Loading…
Add table
Add a link
Reference in a new issue