The use case is 3 devs, 3 environments (dev/staging/prod)
Adding ssh keys to the deployment user’s authorized_keys, in each environment.
In Dev, add all, in Staging just 2, and in Production just 1.
This is not the first time I’ve wished YAML inventory were still possible =)
(I get the reasons though, fair enough)
Does anybody have recommendations?
Perhaps make complete files e.g. ‘authorized_keys_dev’ , ‘authorized_keys_staging’
and specify which to use in the inventory?