Files
fedora-infra_ansible/playbooks/groups/bastion.yml
Kevin Fenzi f8eacdb62b bastion01.rdu3: A wild bastion01.rdu3 appears, lets try and configure it.
This should setup a already installed bastion01.rdu3 vm so we can use it
to get to other rdu3 machines.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-21 12:37:13 -07:00

34 lines
709 B
YAML

---
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "bastion"
- name: Make the boxen be real for real
hosts: bastion
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
- { role: openvpn/server, when: datacenter == 'iad2' }
- ipa/client
- nagios_client
- hosts
- sudo
- collectd/base
- packager_alias
- opendkim
- fasjson
pre_tasks:
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml"