Use become when creating image cache directory for seed VM

This commit is contained in:
Mark Goddard 2017-09-08 20:12:12 +00:00
parent a62ad6b0d3
commit dcdb9f7e96

View File

@ -17,6 +17,9 @@
file:
path: "{{ image_cache_path }}"
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
# be configured by metadata in the configdrive. For some reason resolv.conf