--- - name: Create broken link file: src: /nowhere dest: "{{ remote_tmp_dir }}/nowhere.txt" state: link force: yes - name: Archive broken link (tar.gz) archive: path: "{{ remote_tmp_dir }}/*.txt" dest: "{{ remote_tmp_dir }}/archive_broken_link.tar.gz" - name: Archive broken link (tar.bz2) archive: path: "{{ remote_tmp_dir }}/*.txt" dest: "{{ remote_tmp_dir }}/archive_broken_link.tar.bz2" - name: Archive broken link (zip) archive: path: "{{ remote_tmp_dir }}/*.txt" dest: "{{ remote_tmp_dir }}/archive_broken_link.zip"