Use become when creating image cache directory for seed VM
This commit is contained in:
parent
a62ad6b0d3
commit
dcdb9f7e96
@ -17,6 +17,9 @@
|
|||||||
file:
|
file:
|
||||||
path: "{{ image_cache_path }}"
|
path: "{{ image_cache_path }}"
|
||||||
state: directory
|
state: directory
|
||||||
|
owner: "{{ ansible_env.USER }}"
|
||||||
|
group: "{{ ansible_env.USER }}"
|
||||||
|
become: True
|
||||||
|
|
||||||
# The user data script is used to bring up the network interfaces that will
|
# The user data script is used to bring up the network interfaces that will
|
||||||
# be configured by metadata in the configdrive. For some reason resolv.conf
|
# be configured by metadata in the configdrive. For some reason resolv.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user