aa4d53ccdf
* ensure local exposes correct user avoid corner case in which delegation relied on playcontext fallback which was removed fixes #72541
10 lines
271 B
YAML
10 lines
271 B
YAML
- name: handle case from issue 72541
|
|
hosts: testhost
|
|
gather_facts: false
|
|
remote_user: root
|
|
tasks:
|
|
- name: ensure we copy w/o errors due to remote user not being overriden
|
|
copy:
|
|
src: testfile
|
|
dest: "{{ playbook_dir }}"
|
|
delegate_to: localhost
|