repo setup can not occur until users are setup
In an attempt to ensure yum repos were in place for any possible package installs the include statement was added agressively to the beginning of the workflow. This passed local testing because the user was present even with --teardown all initially. In fact we have to move it after some of the provisioning steps. This has been confirmed to work with a fresh install of RHEL 7.3 on the virthost w/ minimal packages. Change-Id: I40adea3349c2fc0a2565b6e8ff1718786b9decc5
This commit is contained in:
parent
ecb109d647
commit
ae0d47a851
|
@ -31,6 +31,11 @@
|
|||
tags:
|
||||
- provision
|
||||
|
||||
# Allow the user to optionally perform a yum repo setup
|
||||
# the virthost_repo_setup variable by default is set to false
|
||||
- include: repo-setup-virthost.yml
|
||||
when: virthost_repo_setup|bool
|
||||
|
||||
- name: Check if the target virthost distro is supported (RHEL or CentOS)
|
||||
hosts: virthost
|
||||
roles:
|
||||
|
|
|
@ -15,11 +15,6 @@
|
|||
tags:
|
||||
- provision
|
||||
|
||||
# Allow the user to optionally perform a yum repo setup
|
||||
# the virthost_repo_setup variable by default is set to false
|
||||
- include: repo-setup-virthost.yml
|
||||
when: virthost_repo_setup|bool
|
||||
|
||||
- include: teardown-provision.yml
|
||||
|
||||
# The `provision.yml` playbook is responsible for
|
||||
|
|
Loading…
Reference in New Issue