mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
f5a9584ae6
* created an integration test that archives broken links * sanity fix
22 lines
545 B
YAML
22 lines
545 B
YAML
---
|
|
- name: Create broken link
|
|
file:
|
|
src: /nowhere
|
|
dest: "{{ output_dir }}/nowhere.txt"
|
|
state: link
|
|
force: yes
|
|
|
|
- name: Archive broken link (tar.gz)
|
|
archive:
|
|
path: "{{ output_dir }}/*.txt"
|
|
dest: "{{ output_dir }}/archive_broken_link.tar.gz"
|
|
|
|
- name: Archive broken link (tar.bz2)
|
|
archive:
|
|
path: "{{ output_dir }}/*.txt"
|
|
dest: "{{ output_dir }}/archive_broken_link.tar.bz2"
|
|
|
|
- name: Archive broken link (zip)
|
|
archive:
|
|
path: "{{ output_dir }}/*.txt"
|
|
dest: "{{ output_dir }}/archive_broken_link.zip"
|