Skip to content

Instantly share code, notes, and snippets.

@DavidMikeSimon
Created March 27, 2013 14:50
Show Gist options
  • Select an option

  • Save DavidMikeSimon/5254771 to your computer and use it in GitHub Desktop.

Select an option

Save DavidMikeSimon/5254771 to your computer and use it in GitHub Desktop.
- hosts: beatbox.actesting.org
tasks:
- name: sync repository to target system
local_action: command rsync -a -e ssh ${ENV(HOME)}/.ansible-cache-${name}
ubuntu@${inventory_hostname}:/home/ubuntu/ansible-cache-${name}
vars:
name: foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment