MNAIO: Only adjust user_variables.yml if pre_config_osa is true

If pre_config_osa is not true, then the folder won't exist and
the task will fail.

Change-Id: Idb20e298d4f0f7f4ab175a2810492b9842f30f8b
This commit is contained in:
Jesse Pretorius 2018-09-26 17:40:20 +01:00
parent ddcef522d4
commit 404b9a77db

View File

@ -129,6 +129,8 @@
with_items: with_items:
- '---' - '---'
- 'osa_ops_mnaio: true' - 'osa_ops_mnaio: true'
when:
- pre_config_osa | default(true) | bool
- name: Bootstrap ansible - name: Bootstrap ansible
command: bash ./scripts/bootstrap-ansible.sh command: bash ./scripts/bootstrap-ansible.sh