Review requests

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/84135/head
Abhijeet Kasurde 1 month ago
parent 6f42c6064e
commit 9ef8779b50

@ -1,4 +1,3 @@
--- ---
bugfixes: bugfixes:
- connection - use inventory_hostname while generating control path directory name to make it more unique (https://github.com/ansible/ansible/issues/76956). - connection - use inventory_hostname while generating control path directory name to make it more unique (https://github.com/ansible/ansible/issues/76956).

@ -82,6 +82,6 @@ ANSIBLE_SSH_CONTROL_PATH='/tmp/ssh cp with spaces' ansible -m ping all -e ansibl
# Check if control path is different # Check if control path is different
ansible -m ping -i control_path.inventory web -vvv 1> stdout.txt 2> /dev/null ansible -m ping -i control_path.inventory web -vvv 1> stdout.txt 2> /dev/null
first=$(cat stdout.txt|grep ControlPath= | head -1) first=$(grep stdout.txt -c "ControlPath=" | head -1)
second=$(cat stdout.txt|grep ControlPath= | tail -1) second=$(grep stdout.txt -c "ControlPath=" | tail -1)
test "$first" != "$second" test "$first" != "$second"

Loading…
Cancel
Save