mirror of https://github.com/ansible/ansible.git
unarchive - ensure src is an absolute path before picking handler (#80738)
parent
86e7cd57b7
commit
09b4cae4fb
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- unarchive - fix unarchiving sources that are copied to the remote node using a relative temporory directory path (https://github.com/ansible/ansible/issues/80710).
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -eux
|
||||||
|
|
||||||
|
ansible-playbook -i ../../inventory runme.yml -v "$@"
|
||||||
|
|
||||||
|
# https://github.com/ansible/ansible/issues/80710
|
||||||
|
ANSIBLE_REMOTE_TMP=./ansible ansible-playbook -i ../../inventory test_relative_tmp_dir.yml -v "$@"
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
- hosts: all
|
||||||
|
gather_facts: no
|
||||||
|
roles:
|
||||||
|
- { role: ../unarchive }
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
- hosts: all
|
||||||
|
gather_facts: no
|
||||||
|
tasks:
|
||||||
|
- include_role:
|
||||||
|
name: ../setup_remote_tmp_dir
|
||||||
|
- include_role:
|
||||||
|
name: ../setup_gnutar
|
||||||
|
- include_tasks: tasks/prepare_tests.yml
|
||||||
|
|
||||||
|
- include_tasks: tasks/test_tar.yml
|
||||||
Loading…
Reference in New Issue