Ensure openstack_deploy directory is create before copy

Change-Id: Ic28bbd01f0647914223885c89c7843b20073e081
This commit is contained in:
Antony Messerli 2017-07-28 12:09:00 -05:00 committed by Jesse Pretorius (odyssey4me)
parent a3d39c43cb
commit 505f5bb19a

View File

@ -155,6 +155,13 @@
when:
- pre_config_osa | default(true) | bool
- name: Create Basic configs
shell: cp -R etc/openstack_deploy/* /etc/openstack_deploy
args:
chdir: /opt/openstack-ansible
when:
- pre_config_osa | default(true) | bool
- name: Drop osa config
template:
src: "osa/openstack_user_config.yml"