

In Ansible 2.0 a bug in the synchronize module made become occur on the “local host”. The user and permissions for the synchronize dest are those of the remote_user on the destination host or the become_user if become=yes is active.

The user and permissions for the synchronize src are those of the user running the Ansible task on the local host (or the remote_user for a delegate_to host when delegate_to is used). This enables copying between two remote hosts or entirely on one remote machine. The “local host” can be changed to a different host by using delegate_to. Rsync must be installed on both the local and remote host.įor the synchronize module, the “local host” is the host the synchronize task originates on, and the “destination host” is the host synchronize is connecting to. Controlling how Ansible behaves: precedence rules.Collections in the Theforeman Namespace.Collections in the T_systems_mms Namespace.Collections in the Servicenow Namespace.Collections in the Purestorage Namespace.Collections in the Openvswitch Namespace.Collections in the Netapp_eseries Namespace.Collections in the Kubernetes Namespace.Collections in the Junipernetworks Namespace.Collections in the F5networks Namespace.Collections in the Containers Namespace.Collections in the Cloudscale_ch Namespace.Collections in the Chocolatey Namespace.Collections in the Check_point Namespace.Virtualization and Containerization Guides.
