Created
March 10, 2014 14:34
-
-
Save kovacshuni/9466066 to your computer and use it in GitHub Desktop.
Ansible command ran directly
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
## So this is how i copied a file from src to dest through an Ansible command. | |
ansible -i poc gitlab-servers -m file -a "name=copying src=/home/git/gitlab/lib/support/logrotate/gitlab dest=/etc/logrotate./gitlab mode=0640 owner=root group=git" | |
server | success >> { | |
"changed": false, | |
"path": "copying", | |
"state": "absent" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment