--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/de4b1d02-80e3-42a2-9950-c4618f0f98a7%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-p...@googlegroups.com.
Did you ever figure this out or get a reply off line. Struggling with similar questions.--
On Tuesday, August 7, 2018 at 3:06:59 AM UTC-5, java_cat33 wrote:I'm aware of the recommended directory structure published on the Ansible website. My questions however are:
- Do you have a git repo containing ALL of your playbooks? E.G all server related plays? Another repo for all network related plays?
- Do you have a git repo for each project you work on? E.G a project might be a Citrix farm refresh where numerous plays are required (Citrix, SQL, Apps etc)?
- Do you keep a copy of your roles and playbooks locally on the AWX box for development and testing and then only run them via AWX pulling from src control?
- Do you store your roles in a separate git repo?
- How do you keep your inventory in sync between Ansible core and AWX when using groups etc?
Based upon my very limited use of AWX the custom roles will need to be stored locally on the AWX box however if I want to use galaxy roles I can reference these via a requirements.yml
Sorry about all the questions but I'm struggling to find these answers and want to ensure we adopt a recommended practice (this is a greenfield deployment where we have only just adopted using Ansible within the last couple of months - AWX is not in use yet).
Any other tips or lessons learnt you are willing to share would be greatly appreciated.
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/de4b1d02-80e3-42a2-9950-c4618f0f98a7%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/08a3fa95-e2d3-46aa-a092-0d9c7c9f582f%40googlegroups.com.
playbooks/
test.yml (calls the role)
roles/
my_role/
tasks/....main.yml (uses rest_get module)
library/
rest_get.pyplaybooks/ test.yml (calls the role) library/ rest_get.pyroles/ my_role/ tasks/....main.yml (uses rest_get module)