Skip to content

Instantly share code, notes, and snippets.

@garlandkr
Created August 1, 2013 19:19
Show Gist options
  • Select an option

  • Save garlandkr/6134358 to your computer and use it in GitHub Desktop.

Select an option

Save garlandkr/6134358 to your computer and use it in GitHub Desktop.
{% for hostname in pillar['remote_hosts'] %}
sh.rsync('-tdz', '--delete-after', '/home/stats/', '{{ hostname }}:/home/stats/')
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment