Volumes variable still not correct
This commit is contained in:
10
odroid.yaml
10
odroid.yaml
@@ -9,6 +9,12 @@
|
|||||||
- include_vars: vars/secret.yaml
|
- include_vars: vars/secret.yaml
|
||||||
- include_vars: vars/variable.yaml
|
- include_vars: vars/variable.yaml
|
||||||
|
|
||||||
|
|
||||||
|
- name: Backup container volumes
|
||||||
|
debug: var=item
|
||||||
|
loop: "{{ lookup('dict', volumes) }}"
|
||||||
|
|
||||||
|
|
||||||
- name: Check if directories exist
|
- name: Check if directories exist
|
||||||
stat:
|
stat:
|
||||||
path: "{{ backup_dir }}/{{ item }}"
|
path: "{{ backup_dir }}/{{ item }}"
|
||||||
@@ -156,7 +162,3 @@
|
|||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.path }}"
|
label: "{{ item.path }}"
|
||||||
|
|
||||||
- name: Backup container volumes
|
|
||||||
debug: var=item
|
|
||||||
loop: "{{ volumes }}"
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user