Hello,
Can I possible to use authorized_key thith multiple url as key source?
If exclusive=yes I need to transfer all key a single batch as mentioned above.
My key store, has the following structure
- store
– group1
— user1
---- key1.pub
— user2
---- key2.pub
…
– group2
— user1
---- key1.pub
— user3
---- key3.pub
simple task
authorized_key: user=‘{{ item.name }}’ key=‘{{ keys_repo }}’/raw/‘{{ item.commit }}’/‘{{ item.key }}’.pub
with_items: ssh_users
work fine, but it can not be replaced in a single operation all keys, it is necessary to first make one exclusive key, and then adding other.