3 changed files with 28 additions and 3 deletions
@ -0,0 +1,16 @@ |
|||||||
|
--- |
||||||
|
- name: make gallery archive |
||||||
|
community.general.archive: |
||||||
|
dest: "{{ archive }}" |
||||||
|
path: "{{ album_path }}" |
||||||
|
|
||||||
|
- name: copy archive to controller |
||||||
|
fetch: |
||||||
|
src: "{{ archive }}" |
||||||
|
dest: "{{ output_dir }}" |
||||||
|
flat: yes |
||||||
|
|
||||||
|
- name: remove remote archive |
||||||
|
file: |
||||||
|
path: "{{ archive }}" |
||||||
|
state: absent |
||||||
Loading…
Reference in new issue