ansible/test/integration/targets/delegate_to/delegate_local_from_root.yml

11 lines
271 B
YAML
Raw Normal View History

- 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