Hi Maciej,
thanks for quick response.
Am 17.01.2019 um 20:24 schrieb Maciej Delmanowski:
On Jan 17, Jan Kowalsky wrote:
> until I do a further research how to achieve this: Can anybody tell me
> if it's possible to handle multiple different PKI with different root ca
> inside one debops project?
Yes, it is possible to manage multiple separate Certificate Authority
chains
in one debops.pki setup.
good to hear. I'll try to understand and test how it works
But, I think that putting multiple separate clients in one DebOps
environment
(project directory) might not be a good diea. The model of these directories
and the playbooks/roles are designed as self-contained entities. If you want
to use DebOps to manage multiple, separate clients, I would put each client
environment in its own separate DebOps project directory. That way passwords
for certain services like snmpd, shared databases, etc. are not exposed to
other clients. If you still want them to be able to talk with each other via
SSL with internal CAs, you can just cross-share the Root CA certificates
between the environments by putting them in 'secret/pki/ca-certificates/'
subdirectories.
Yes, generally we are aware, that it's not ideal to have different
clients in one project. The main issue isn't the pki. To share the root
ca could be interesting one day - e.g. when we need central logging over
tls.
But the consideration was, that we have a lot of group_vars for specific
purposes. E.g. common software lists for desktop clients, ciphers for
nginx or nextcloud configurations.
Until now we didn't find a good way to have every few hosts in it's own
project (sometimes they are only 2 to 5 hosts) but still share the
group_vars between them.
For example: we have some ltsp environments - every of them quite
similar configured: a host with very few vms: one for desktop another
for public cloud and maybe some other for sql and special applications.
If we find some issues in one installation it's pretty probable that we
want to fix this in all installations. E.g. we need newer packages, a
custom patch or maybe we want to change all admin ssh keys. In this case
it's much easier if they're all in one project and depend e.g. on one
group_all with admin-users defined or one group with all ltsp-servers
inside.
So if you have a good idea how to organize this, we would appreciate
this a lot. Maybe we could think about symlinking some parts of the
inventory to the particular projects ...
Thanks a lot and kind regards
Jan