tasks: lxc_cache_preparation: Ensure the /opt directory exists in the container
Change-Id: I8f9fa9a3795add5e695a731411f9b13187ced43f
This commit is contained in:
parent
1776570a71
commit
b7a4e017f1
@ -101,6 +101,11 @@
|
|||||||
mode: "{{ item.mode | default('0644') }}"
|
mode: "{{ item.mode | default('0644') }}"
|
||||||
with_items: "{{ lxc_container_cache_files }}"
|
with_items: "{{ lxc_container_cache_files }}"
|
||||||
|
|
||||||
|
- name: Ensure opt directory exists in container
|
||||||
|
file:
|
||||||
|
dest: "{{ lxc_image_cache_path }}/opt"
|
||||||
|
state: directory
|
||||||
|
|
||||||
- name: Cached image preparation script
|
- name: Cached image preparation script
|
||||||
template:
|
template:
|
||||||
src: "{{ lxc_cache_prep_template }}"
|
src: "{{ lxc_cache_prep_template }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user