playbooks: configure-opnfvhost: Be explicit when copying user files 17/47417/1
authorMarkos Chandras <mchandras@suse.de>
Fri, 17 Nov 2017 13:36:09 +0000 (13:36 +0000)
committerMarkos Chandras <mchandras@suse.de>
Fri, 17 Nov 2017 13:36:49 +0000 (13:36 +0000)
The flavors may contain deployment specific user_variables.yml files
so we should only copy the generic one in the common tasks and leave
the rest for scenarios to copy them if necessary.

Change-Id: I39e3e090dc40d4f13bb42028a24e8574e19cf6dd
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/playbooks/configure-opnfvhost.yml

index 9a1ac7c..12fb3a0 100644 (file)
@@ -76,7 +76,7 @@
     - name: copy openstack_user_config.yml
       shell: "/bin/cp -rf {{XCI_FLAVOR_ANSIBLE_FILE_PATH}}/openstack_user_config.yml {{OPENSTACK_OSA_ETC_PATH}}"
     - name: copy all user override files
-      shell: "/bin/cp -rf {{XCI_FLAVOR_ANSIBLE_FILE_PATH}}/user_*.yml {{OPENSTACK_OSA_ETC_PATH}}"
+      shell: "/bin/cp -rf {{XCI_FLAVOR_ANSIBLE_FILE_PATH}}/user_variables.yml {{OPENSTACK_OSA_ETC_PATH}}"
     - name: copy cinder.yml
       shell: "/bin/cp -rf {{OPNFV_RELENG_PATH}}/xci/file/cinder.yml {{OPENSTACK_OSA_ETC_PATH}}/env.d"
     - block: