From cf4d418665cadcf69b0dbb6055af3728c0b51068 Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Mon, 19 Nov 2018 21:08:08 +0000 Subject: [PATCH] do it this way instead Signed-off-by: Rick Elrod --- .../rhel8beta.yml} | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) rename playbooks/{hosts/el8betatest01.stg.phx2.fedoraproject.org.yml => groups/rhel8beta.yml} (77%) diff --git a/playbooks/hosts/el8betatest01.stg.phx2.fedoraproject.org.yml b/playbooks/groups/rhel8beta.yml similarity index 77% rename from playbooks/hosts/el8betatest01.stg.phx2.fedoraproject.org.yml rename to playbooks/groups/rhel8beta.yml index 5897cdc56f..25a8028528 100644 --- a/playbooks/hosts/el8betatest01.stg.phx2.fedoraproject.org.yml +++ b/playbooks/groups/rhel8beta.yml @@ -1,5 +1,9 @@ +# create a new rhel8 beta test server + +- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=rhel8beta" + - name: dole out the generic configuration - hosts: el8betatest01.stg.phx2.fedoraproject.org + hosts: rhel8beta user: root gather_facts: True @@ -8,9 +12,6 @@ - "/srv/private/ansible/vars.yml" - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - pre_tasks: - - import_tasks: "{{ tasks_path }}/yumrepos.yml" - roles: - base - rkhunter @@ -18,6 +19,9 @@ - fas_client - sudo + pre_tasks: + - import_tasks: "{{ tasks_path }}/yumrepos.yml" + tasks: - import_tasks: "{{ tasks_path }}/2fa_client.yml" - import_tasks: "{{ tasks_path }}/motd.yml"