mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
We will need to check these services after pushing this out and confirm that they are still emitting or hearing messages they need to. Many thanks Karsten!
45 lines
1.0 KiB
YAML
45 lines
1.0 KiB
YAML
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=value:value_stg"
|
|
|
|
- name: make the box be real
|
|
hosts: value:value_stg
|
|
user: root
|
|
gather_facts: True
|
|
|
|
vars_files:
|
|
- /srv/web/infra/ansible/vars/global.yml
|
|
- "/srv/private/ansible/vars.yml"
|
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
|
|
roles:
|
|
- base
|
|
- rkhunter
|
|
- nagios_client
|
|
- hosts
|
|
- fas_client
|
|
- collectd/base
|
|
- apache
|
|
- { role: fedmsg/base,
|
|
when: deployment_type == "prod" }
|
|
# Set up for fedora-messaging
|
|
- { role: rabbit/user,
|
|
username: "value{{ env_suffix }}"}
|
|
- fedmsg/irc
|
|
- supybot
|
|
- sudo
|
|
- rsyncd
|
|
- { role: openvpn/client,
|
|
when: env != "staging" }
|
|
- role: collectd/fedmsg-service
|
|
process: fedmsg-irc
|
|
- mote
|
|
|
|
pre_tasks:
|
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
|
|
|
tasks:
|
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
|
|
|
handlers:
|
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|