From 31f33adb7757bf4c646badcc4ea5f7b70a238080 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Wed, 28 Nov 2018 21:41:50 +0000 Subject: [PATCH] make a temp box for mgalgoci to test ipv6 in community cage --- inventory/inventory | 3 ++ .../hosts/ipv6-test.fedoraproject.org.yml | 32 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 playbooks/hosts/ipv6-test.fedoraproject.org.yml diff --git a/inventory/inventory b/inventory/inventory index 7db54eeda6..738cc599e7 100644 --- a/inventory/inventory +++ b/inventory/inventory @@ -1502,3 +1502,6 @@ retrace01.qa.fedoraproject.org [rhel8beta] el8betatest01.stg.phx2.fedoraproject.org osuosl03.fedoraproject.org + +[ipv6-test] +ipv6-test.fedoraproject.org diff --git a/playbooks/hosts/ipv6-test.fedoraproject.org.yml b/playbooks/hosts/ipv6-test.fedoraproject.org.yml new file mode 100644 index 0000000000..23b630b553 --- /dev/null +++ b/playbooks/hosts/ipv6-test.fedoraproject.org.yml @@ -0,0 +1,32 @@ +# This is a basic playbook + +- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=infinote" + +- name: make the boxen be real for real + hosts: ipv6-test.fedoraproject.org + 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 + - hosts + - fas_client + - nagios_client + - collectd/base + - sudo + + 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"