Make sure target manifest directory exists
On a bare system, bridge.o.o will be trying to rsync /opt/system-config/ to /opt/system-config/production - but if /opt/system-config doesn't exist on the remote host, the rsync will fail. Make sure we create the directory. Change-Id: Id56a537fe2352c099b81559eb4032138ba108bed
This commit is contained in:
parent
7fc585e1ab
commit
ffbb43a218
@ -71,6 +71,11 @@
|
||||
|
||||
- block:
|
||||
|
||||
- name: Ensure target directory exists
|
||||
file:
|
||||
path: "{{ manifest_base }}"
|
||||
state: directory
|
||||
|
||||
- name: copy puppet modules
|
||||
synchronize:
|
||||
src: "{{ mgmt_manifestpath }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user