Le 25/01/2021 à 16:03, John Petro a écrit :
> Good morning,
> I am working on setting up an ansible repository, for work. We are
> going to be using AWX eventually ( sooner rather than later ). What I
> am wondering, is how people decided to split up their ansible project
> directories. My first thought was to just have a single project with
> all of our playbooks in that but I am starting to question whether
> that is the correct path or not.
Not so obvious to answer !
>
> Along with that, when it comes to source control, are you storing your
> roles in a separate repo per role, or all in one repo. For myself
> personally ( homelab ), I have a single project, and all of my roles
> have their own repo, but I am not sure how that scales to a larger
> organization.
One role per repo with version tags !
Like this you can use version in your requirements file and decide which
version is working for you in your context. Periodically you need to
update versions and make some adjustments to code after testings !
The more a role is going to be used by different people, the more you
will need a concensus about changes and decide what change can be done
in in a minor and in a major release version !
Regards,
JYL