will now ensure the image directory exists

This commit is contained in:
Tamás Gérczei 2018-05-12 08:29:59 +02:00
parent 1c3f2d0c78
commit ca8cbdfce7
Signed by: tgerczei
GPG Key ID: 9E1246D452248DCE
1 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,12 @@
remote_src: yes
register: tarball
- name: ensure directories exist
file:
path: "{{ image_dir }}"
state: directory
become: yes
- name: process new tarball
block: