Popular Post Verwolff Posted December 23, 2021 Popular Post Posted December 23, 2021 @manofringThank you for your great work. I have ideal study environment and brilliant examples to learn. One question though. I don't understand why in the ansible.cfg you put only the following: This is the hidden content, please Sign In or Sign Up why there is no reference to the local user roles folder ? Should not be there added something like ~/ansible/roles/ ? On the other hand roles seem to be working in your examples, so maybe it is as it is and it was not necessary. Appreciate any answer explaing me this. 72 12 2
manofring Posted December 23, 2021 Author Posted December 23, 2021 (edited) 11 hours ago, Verwolff said: @manofringThank you for your great work. I have ideal study environment and brilliant examples to learn. One question though. I don't understand why in the ansible.cfg you put only the following: This is the hidden content, please Sign In or Sign Up why there is no reference to the local user roles folder ? Should not be there added something like ~/ansible/roles/ ? On the other hand roles seem to be working in your examples, so maybe it is as it is and it was not necessary. Appreciate any answer explaing me this. roles_path = roles its relative path from current position ansible.cfg - its a dir roles around local ansible.cfg in ur current project dir (/home/greg/ansible) /etc/ansible/roles - its stock ansible roles path from global file /etc/ansible/ansible.cfg - u may drop it noprob /usr/share/ansible/roles - this is role path for rhel_roles qustions? P.S. if u make project dir - it is container to ur playbooks, dont use global paths, use only local, for portability any data in ur project: files, ansible.cfg, vars,roles etc placed in project dir, all data accesible from relative path - for portability Edited December 23, 2021 by manofring 34 1
Cristi4NCL Posted June 8, 2022 Posted June 8, 2022 On 9/10/2021 at 7:51 AM, manofring said: Hidden Content Give reaction or reply to this topic to see the hidden content. TY! 8
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now