Sorry, ignore that last one.

I was in our legacy email account from before the company name change and
going through the wrong mail folder :)



On Tue, Sep 16, 2014 at 3:51 PM, Michael DeHaan <[email protected]> wrote:

> Yes.
>
> This mayb ethe lookup plugin you have here evaluating lazily and then the
> authorized key module inserting the lookup call into the file.
> Obviously we don't want that, but there are reasons the lookup plugin
> itself doesn't error - but we should catch that later.
>
> Before going further, can you share what version of ansible you are using?
>
> If 1.7.X or 1.8 (devel), please go ahead and file a bug on this.
>
> Thanks!
>
> On Sun, Apr 13, 2014 at 3:36 PM, Francisco Reyes <[email protected]>
> wrote:
>
>> If the key file to read is not found, shouldn't the authorized_key module
>> report an error?
>>
>> Have this in a playbook
>> - name: Manage keys for users
>>     authorized_key: user={{item.uname}}
>> key="{{lookup('file','~/Ansible/keys/' + item.uname + '/authorized_keys2')
>> }}"
>>                     manage_dir=yes
>>                      path='/home/{{item.uname}}/.ssh/authorized_keys2'
>>     with_items: Ops
>>
>> I originally had the folder "Ansible" called something else. Upon rename
>> keys stopped getting installed, but the module did not report an error.
>>
>> --
>> 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/f33e8a28-d3e1-45c3-95c5-613e5140b35c%40googlegroups.com
>> <https://groups.google.com/d/msgid/ansible-project/f33e8a28-d3e1-45c3-95c5-613e5140b35c%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/CAEVJ8QOJH%3DA06QYjEgFc6bKBEmzBKTMQJBQWytVBYvWVE1yjVQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAEVJ8QOJH%3DA06QYjEgFc6bKBEmzBKTMQJBQWytVBYvWVE1yjVQ%40mail.gmail.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/CA%2BnsWgw5XWnVBQA6X0KnQeDU8PBWTq6uiH1V2_0%3D5-Fnx5cjrQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to