Created
June 18, 2015 19:19
-
-
Save svpernova09/3f085c684150896b1384 to your computer and use it in GitHub Desktop.
Ansible task to copy file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: "Copy some file" | |
copy: | |
src=file-name.ext | |
dest=/tmp | |
owner=root | |
group=root | |
mode=0775 | |
tags: | |
- tag |
mfrost503
commented
Jun 18, 2015
copy: src=iptables.rules dest=/home/matt/ owner=matt group=matt
Is what is in my tasks file
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment