diff options
author | 2018-03-28 21:04:22 +0000 | |
---|---|---|
committer | 2018-03-28 21:04:22 +0000 | |
commit | 14228ae572f272b03b535271414772f2206208c8 (patch) | |
tree | 2b627ac69373bc29aa9e20d61ed31ced7a0c72fb /xci/playbooks/get-opnfv-scenario-requirements.yml | |
parent | 311efd295d83590d766b8972ebe1e18df1b74bc2 (diff) | |
parent | 9e1d3d6e62abf5d0da26a296bcd235f37a54d9c6 (diff) |
Merge "xci: playbooks: Fixes various ansible-lint warnings"
Diffstat (limited to 'xci/playbooks/get-opnfv-scenario-requirements.yml')
-rw-r--r-- | xci/playbooks/get-opnfv-scenario-requirements.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/xci/playbooks/get-opnfv-scenario-requirements.yml b/xci/playbooks/get-opnfv-scenario-requirements.yml index e99c47b2..f37de61a 100644 --- a/xci/playbooks/get-opnfv-scenario-requirements.yml +++ b/xci/playbooks/get-opnfv-scenario-requirements.yml @@ -113,18 +113,21 @@ - name: Determine if the selected {{ deploy_scenario }} scenario can be deployed block: - - set_fact: + - name: Set scenario installer fact + set_fact: deploy_scenario_installer: "{{ item }}" with_items: "{{ deploy_scenario.installers }}" loop_control: label: "{{ item.installer }}" when: item.installer == installer_type - - set_fact: + - name: Set scenario flavor fact + set_fact: deploy_scenario_flavor: "{{ (xci_flavor in deploy_scenario_installer.flavors) | bool }}" when: - deploy_scenario_installer is defined - deploy_scenario_installer - - set_fact: + - name: Set scenario distro flavor fact + set_fact: deploy_scenario_distro: "{{ (xci_distro in deploy_scenario_installer.distros) | bool }}" when: - deploy_scenario_flavor is defined |