My apologies, I will do that next time.

Your suggestion worked perfect, thank you, I appreciate it.

Eric Feldhusen

> On Apr 17, 2018, at 12:03 AM, Brian Coca <bc...@redhat.com> wrote:
> 
> @Eric, normally you should include the error you get, from the email
> it looks like an indentation issue, also key takes a string, not a
> list.
> That string could be a set of keys in each line though.
> 
> This should work:
> 
> tasks:
>  - name: Set deploy-user authorized key from github url
>    authorized_key:
>        user: deploy-user
>        state: present
>        key: '{{item}}'
>    loop:
>          - https://github.com/username1.keys
>          - https://github.com/username2.keys
>          - https://github.com/username3.keys
> 
> 
> -- 
> ----------
> Brian Coca
> 
> -- 
> 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 ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/CACVha7ez%3D71T4cBu636Nz2W3NuT7oAudioNxZf-nY7Eo1eWZ2Q%40mail.gmail.com.
> 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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0B36927D-7679-49F2-8AF7-8732AD398078%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to