Skip to content

Instantly share code, notes, and snippets.

@tuxis-ie
Created August 21, 2015 09:29
Show Gist options
  • Save tuxis-ie/3bdfb5d01d6d49749c39 to your computer and use it in GitHub Desktop.
Save tuxis-ie/3bdfb5d01d6d49749c39 to your computer and use it in GitHub Desktop.
- name: Copy cronscripts
copy: src={{ item }} dest=/etc/ mode=0750 owner=root group=root
with_first_found:
- files:
- "{{inventory_hostname}}/etc/cronscripts/"
paths:
- /etc/ansible/files
skip: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment