Copy file from one remote server to another remote server using nested delegate_to
问题 As a user I want to copy file from node1 to node2. Is it possible with copy module + delegate_to Below is what I was trying to do. Playbook is running from node3. Playbook Sample --- - name: Gather Facts for all hosts hosts: all gather_facts: true any_errors_fatal: true become: true - name: Test hosts: all gather_facts: false any_errors_fatal: true become: true roles: - role: test Role Sample --- - block: - include_tasks: test.yml any_errors_fatal: true run_once: true Task Sample --- - name: