For Ansible Playbook, where to put config for ansible scripts whilst documenting which settings are required?

0 votes
asked Feb 14, 2016 by shaughnessy (380 points)
Thank you in advance for your help. I have ansible playbook yaml file that contains following:---- vars: remote_application_path: /apps/application1 local_project_path: ~/projects/application1 hosts: Selective. Thanks for any insights

4 Answers

0 votes
answered Feb 27, 2016 by Shimkus (430 points)

Another way is a second file that overrides settings as needed.
In reality all config should be separated from code.
It's specifically for storing things like configuration files.

See One in every 600 websites has .git exposed | Hacker News for more information
+2 votes
answered Mar 6, 2016 by GbcHasTo (690 points)
See Packages GuixSD for a working example
Hope it helps anyone
0 votes
answered Mar 24, 2016 by Burchinal (260 points)
Check out this article and this simple example. More details on race condition here, Dan Rough:
commented Mar 25, 2016 by Sunyich (900 points)
That's just the Linux model
commented Mar 25, 2016 by Gur_The (260 points)
Not sure about Perl though
commented Mar 25, 2016 by Barbarito (320 points)
Edit: Also use a deployment tool like Capistrano which removes the
commented Mar 25, 2016 by baseman (300 points)
This code might help to this topic
0 votes
answered Mar 25, 2016 by Gunfiles (1,020 points)
Here is a workaround for this that I personally find quite effective. This search results : vim online will reverse engineer your database

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!