diff options
author | Markos Chandras <mchandras@suse.de> | 2018-04-27 20:25:30 +0100 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2018-04-30 16:09:20 +0100 |
commit | 88e917ff19049358218068c63bac7427a1faeb0b (patch) | |
tree | f4a88f46f7f1e956d7190037d3d62a5e0f7095eb /xci/installer/osa/playbooks | |
parent | 36992029ed404569304187779492a4d737d6fc50 (diff) |
xci: Remove intermediate scenarios tasks file
Now that the scenario role is recorded as a local fact, we can
include the role directly directly so we don't need the the
intermediate file anymore.
deploy-scenario:os-nosdn-nofeature
installer-type:osa
Change-Id: Ia3c5658826f115538b2a103d987ee8f33d3048b9
Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/installer/osa/playbooks')
-rw-r--r-- | xci/installer/osa/playbooks/configure-opnfvhost.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/xci/installer/osa/playbooks/configure-opnfvhost.yml b/xci/installer/osa/playbooks/configure-opnfvhost.yml index cca3e423..e2770989 100644 --- a/xci/installer/osa/playbooks/configure-opnfvhost.yml +++ b/xci/installer/osa/playbooks/configure-opnfvhost.yml @@ -109,7 +109,15 @@ when: - lookup('env','http_proxy') != "" - - include: "{{ xci_path }}/xci/playbooks/bootstrap-scenarios.yml" + - name: Reload XCI deployment host facts + setup: + filter: ansible_local + gather_subset: "!all" + delegate_to: 127.0.0.1 + + - name: Prepare everything to run the {{ deploy_scenario }} role + include_role: + name: "{{ hostvars['opnfv'].ansible_local.xci.scenarios.role }}" - name: bootstrap ansible on opnfv host command: "/bin/bash ./scripts/bootstrap-ansible.sh" |