Do not apply varstest to all scenarios

These variables only needs to be created for the varstest
scenario, not for any other scenario.

Change-Id: I9c8ce7c4a225853f8dda20de98842535e6742123
This commit is contained in:
Jean-Philippe Evrard 2017-11-29 16:05:39 +00:00
parent 03a57d6668
commit 10346279c0

View File

@ -209,6 +209,7 @@
line: 'security_package_state: "present"'
- path: /etc/openstack_deploy/host_vars/localhost.yml
line: 'tintin: "milou"'
when: "(lookup('env','ACTION') | default(false,true)) == 'varstest'"
- name: Discover the pypi mirror URL when in nodepool
shell: |