Merge pull request #391 from juanvalino/main

Fixes #390. Hosts involved must have same password

SUMMARY
Fixes #390
The change takes the password from destination hostvars ansible_ssh_pass or ansible_password when dest is remote.
In other case, previous behavior is maintained and password is taken form task vars ansible_ssh_pass or ansible_password.
Also, both user and password are templated to allow jinja expressions in them.
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
ansible.posix.synchronize
ADDITIONAL INFORMATION
n/a

Reviewed-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
softwarefactory-project-zuul[bot]
2022-12-15 02:21:06 +00:00
committed by GitHub
2 changed files with 13 additions and 3 deletions

View File

@@ -0,0 +1,3 @@
---
bugfixes:
- synchronize - Fixed hosts involved in rsync require the same password