The reason I have 2 dictionaries (and can't combine them) is primarily the
"public_ssh_keys" resides in group_var/all/ssh_keys.yml and contains all
the user keys. But ssh_users reside in group_vars/[group_name].yml and
the list of users can be different per [group name]
While I know having a structure like:
public_ssh_keys:
- user: user1
key: key
group:
- group1
- group4
- user: user2
key:
- key1
- key2
group:
- group1
- group2
- group6
makes sense, and would make this play trivial, I can't make that change at
this time... .
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/edda5410-25a9-4ac3-8de6-8361ea4e4e95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.