I think you should take a look at the authorized_keys module again -- you
can pass multiple keys to a single invocation when using the exclusive
option which will enforce that exactly and only the list of  keys you
supplied are in the specified authorized_keys file.

On Thursday, October 22, 2015, DrDth <[email protected]> wrote:

> @esco This wouldn't manage the different users on the remote systems
>
> @Javier It does not exactly what I want, cause the last key in the loop is
> the one who becomes exclusive so none of the others will be in the
> authorized_keys file. I need an option for keeping all keys and only those
> which i choose to be the ones.
>
> --
> 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]
> <javascript:_e(%7B%7D,'cvml','ansible-project%[email protected]');>
> .
> To post to this group, send email to [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/c59bb8d6-9bb1-4268-a3a2-5133672a28fa%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/c59bb8d6-9bb1-4268-a3a2-5133672a28fa%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CABUBibv9TCQSRa04%2BqDjBL84LRUJ3Gz8%2Bn1FuS7cwzK8WnZztw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to