* created an integration test that archives broken links
* sanity fix
(cherry picked from commit f5a9584ae6
)
pull/2075/head
parent
8995ab3483
commit
25bd378005
|
@ -0,0 +1,22 @@
|
||||||
|
---
|
||||||
|
- 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"
|
|
@ -366,3 +366,6 @@
|
||||||
- name: Remove backports.lzma if previously installed (pip)
|
- name: Remove backports.lzma if previously installed (pip)
|
||||||
pip: name=backports.lzma state=absent
|
pip: name=backports.lzma state=absent
|
||||||
when: backports_lzma_pip is changed
|
when: backports_lzma_pip is changed
|
||||||
|
|
||||||
|
- name: import broken-link tests
|
||||||
|
import_tasks: broken-link.yml
|
||||||
|
|
Loading…
Reference in New Issue