mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-13 16:15:21 +01:00
Compare commits
4 commits
7f885bca9c
...
e0d3050c61
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0d3050c61 | ||
|
|
1b9ae1c77f | ||
|
|
ae95adcfdc | ||
|
|
3fe65ff1b1 |
3 changed files with 13 additions and 4 deletions
|
|
@ -203,8 +203,10 @@ stages:
|
|||
targets:
|
||||
- name: RHEL 9.4
|
||||
test: rhel/9.4
|
||||
- name: FreeBSD 13.3
|
||||
test: freebsd/13.3
|
||||
- name: FreeBSD 14.1
|
||||
test: freebsd/14.1
|
||||
- name: FreeBSD 13.4
|
||||
test: freebsd/13.4
|
||||
- stage: Remote_2_18
|
||||
displayName: Remote devel
|
||||
dependsOn: []
|
||||
|
|
|
|||
3
changelogs/fragments/593_replace_freebsd_version.yml
Normal file
3
changelogs/fragments/593_replace_freebsd_version.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
trivial:
|
||||
- Replaced FreeBSD version 13.3 with 13.4 and 14.1 in CI for devel branch.
|
||||
|
|
@ -342,7 +342,9 @@ class ActionModule(ActionBase):
|
|||
|
||||
# Determine if we need a user@ and a password
|
||||
user = None
|
||||
password = task_vars.get('ansible_ssh_pass', None) or task_vars.get('ansible_password', None)
|
||||
password = (task_vars.get('ansible_ssh_password', None)
|
||||
or task_vars.get('ansible_ssh_pass', None)
|
||||
or task_vars.get('ansible_password', None))
|
||||
if not dest_is_local:
|
||||
# Src and dest rsync "path" handling
|
||||
if boolean(_tmp_args.get('set_remote_user', 'yes'), strict=False):
|
||||
|
|
@ -372,7 +374,9 @@ class ActionModule(ActionBase):
|
|||
src = self._process_origin(src_host, src, user)
|
||||
dest = self._process_remote(_tmp_args, dest_host, dest, user, inv_port in localhost_ports)
|
||||
|
||||
password = dest_host_inventory_vars.get('ansible_ssh_pass', None) or dest_host_inventory_vars.get('ansible_password', None)
|
||||
password = (dest_host_inventory_vars.get('ansible_ssh_password', None)
|
||||
or dest_host_inventory_vars.get('ansible_ssh_pass', None)
|
||||
or dest_host_inventory_vars.get('ansible_password', None))
|
||||
if self._templar is not None:
|
||||
password = self._templar.template(password)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue