summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFatih Degirmenci <fdegir@gmail.com>2018-05-17 09:42:58 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-05-17 09:42:58 +0000
commit299d438ffbbb164d702f6cd525dc7fd74ea58f30 (patch)
tree881ceb3e8ce16cbedbcfee57c1b0db6b0c4f64e4
parente289f4dccc4df1a27b9f2d68e126ca946816b6bb (diff)
parent0457957fc128639edee6b3a647afb1b8be985a39 (diff)
Merge "xci: get-opnfv-scenario-requirements: Fix stale scenario facts"
-rw-r--r--xci/playbooks/get-opnfv-scenario-requirements.yml6
1 files changed, 0 insertions, 6 deletions
diff --git a/xci/playbooks/get-opnfv-scenario-requirements.yml b/xci/playbooks/get-opnfv-scenario-requirements.yml
index 945a7802..a9165709 100644
--- a/xci/playbooks/get-opnfv-scenario-requirements.yml
+++ b/xci/playbooks/get-opnfv-scenario-requirements.yml
@@ -86,8 +86,6 @@
state: directory
become: true
- # NOTE(hwoarang) We have to check all levels of the local fact before we add it
- # otherwise Ansible will fail.
- name: Record scenario information
ini_file:
create: yes
@@ -97,10 +95,6 @@
value: "{{ xci_scenario.role | basename }}"
path: "/etc/ansible/facts.d/xci.fact"
become: true
- when: ansible_local is not defined
- or (ansible_local is defined and ansible_local.xci is not defined)
- or (ansible_local is defined and ansible_local.xci is defined and ansible_local.xci.scenarios is not defined)
- or (ansible_local is defined and ansible_local.xci is defined and ansible_local.xci.scenarios is defined and ansible_local.xci.scenarios.role is not defined)
- name: Fail if {{ deploy_scenario }} is not supported
fail: