add a minimal role for repospanner-temp. randy to fill out rest

This commit is contained in:
Stephen Smoogen 2019-10-22 13:40:28 +00:00 committed by Pierre-Yves Chibon
parent 44e7ada060
commit 805a0f2004

View file

@ -0,0 +1,33 @@
# create a new dns server
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=repospanner"
- name: make the box be real
hosts: repospanner-temp
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
- hosts
- rkhunter
- nagios_client
- fas_client
- collectd/base
- sudo
- openvpn/client
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"