On Sat, 16 Apr 2022 23:52:14 +1200
Richard Hector wrote:
For example, given the tree
shell> tree inventory/
inventory/
├── group_vars
│ └── all
├── hosts
└── users
├── public_keys
│ ├── alice@bar
│ ├── alice@foo
│ ├── richard@bar
│ └── richard@foo
└── user_vars
> Any suggestions?
Questions more than suggestions, but you can take them as such anyway.
1) How many users are we talking about? If the user data is smaller than
the code it takes to manipulate it, maybe it'd be better to make the data
more complex and the code simpler.
2) Are these files
On 4/16/22 13:52, Richard Hector wrote:
On 16/04/22 22:13, Richard Hector wrote:
I have created a directory 'users' alongside my inventory. It has a
directory 'user_vars', intended to be used like host_vars, but for
users, obviously.
I've got this, but it looks horrible:
==
On 16/04/22 22:13, Richard Hector wrote:
Hi all,
I have created a directory 'users' alongside my inventory. It has a
directory 'user_vars', intended to be used like host_vars, but for
users, obviously.
In there, I have files like this:
=
---
name: richard
gecos:
Hi all,
I have created a directory 'users' alongside my inventory. It has a
directory 'user_vars', intended to be used like host_vars, but for
users, obviously.
In there, I have files like this:
=
---
name: richard
gecos: 'Richard Hector,,,'
shell: '/bin/bash'
ssh_keys:
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
Thanks - I think I'll go with 'ship', for the time being :-)
Cheers,
Richard
On 2/04/22 12:23, Nico Kadel-Garcia wrote:
"Container ship" is pretty clear. Others include:
"Tupperware".
"Mixing bowls"
"Measuringcups"
"Russian Dolls"
"Turtles All The Way Down".
"The inevitable product of