Fantastic!
Are there any guides or walkthroughs showing the best/correct way of setting this up? Like I say, I’ve had a search myself but there’s nothing specific that I can find. On Monday, 4 September 2017 17:46:59 UTC+1, Dick Visser wrote: > > That's not only possible but highly reconmended as well. > Especially if they're subject to change - i think most people here use > roles that are. > > Dick > > On Mon, 4 Sep 2017 at 17:48, Ash Powell <[email protected] <javascript:>> > wrote: > >> This may be a silly question, but I've searched around and can't find >> anyone asking a similar thing. >> >> Is it possible for Ansible roles to be stored in a source control >> repository (such as Git)? >> >> Scenario; >> >> We have an ansible server and currently, all of our roles are stored in >> /etc/ansible/roles >> If we want to make a change to a role we ssh onto the ansible server and >> manually edit the file (such as tasks/main.yml) >> >> Is there a way that we can have these files stored in source control so >> that I can edit the file from my local machine, push into a repo and then >> ansible pulls the files before running the playbook/role? >> I know we can store files in a repo and call these files DURING a job >> run, but I want to store the roles themselves in there... >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ansible Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/5b4a66be-8d23-43c0-a5b8-7df8010e4412%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/5b4a66be-8d23-43c0-a5b8-7df8010e4412%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > Dick Visser > GÉANT > > Want to join us? We're hiring: https://www.geant.org/jobs > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/ea49f259-9bc2-4706-87ce-06a34144d2f1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
