Last active
November 13, 2017 10:43
-
-
Save zdtsw/8deb5cd45884dbe7ab2d59e9f5d40e15 to your computer and use it in GitHub Desktop.
ansible information from work experience
This file contains hidden or 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
| ISSUE: | |
| in module "unarchive" | |
| - owner and group only set the file after decompress but not the folders | |
| - need to use "file" module and recurse=yes set owner and group on the "top" folder after unarchive | |
| Template: | |
| use variable in template, ansible would set value during this template is called | |
| use -force can overwrite any difference on target machine's template file with current one in ansible (after variable replace with value) | |
| UPDATE on Ubunut: | |
| have "sudo apt-get install python-pip" done | |
| sudo pip install ansible --upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment