do it this way instead

Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
Rick Elrod 2018-11-19 21:08:08 +00:00
parent 8f777008e6
commit cf4d418665

View file

@ -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"