Re: [ansible-project] Keeping inventory and other data separate from code

2022-04-16 Thread Richard Hector
On 2/04/22 16:07, Nico Kadel-Garcia wrote: On Fri, Apr 1, 2022 at 10:27 PM Richard Hector wrote: Hi all, Currently my inventory is stored in the same git repo as my play(book)s, roles etc, which I don't like. Consider using git submodules if you want a unified workspace. Hmm. I got

Re: [ansible-project] Keeping inventory and other data separate from code

2022-04-01 Thread Nico Kadel-Garcia
On Fri, Apr 1, 2022 at 10:27 PM Richard Hector wrote: > > Hi all, > > Currently my inventory is stored in the same git repo as my play(book)s, > roles etc, which I don't like. Consider using git submodules if you want a unified workspace. > What are common ways to avoid this? Perhaps keep

[ansible-project] Keeping inventory and other data separate from code

2022-04-01 Thread Richard Hector
Hi all, Currently my inventory is stored in the same git repo as my play(book)s, roles etc, which I don't like. What are common ways to avoid this? Perhaps keep inventory in a subdir which is .gitignored, and make that a separate repo? I also want to keep data which is not strictly