Surely the result is still in userhome.stdout
Since this thread was created, (and still a good while ago) set_fact was
invented
set_fact: new_variable="{{result.stdout}}"
On 22 Mar 2014, at 09:57, Brian Coca <[email protected]> wrote:
> shell: 'getent passwd <user> |cut -f 6 -d ":" '
> register: userhome
>
> --
> You received this message because you are subscribed to a topic in the Google
> Groups "Ansible Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ansible-project/wqiclLkqmGU/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CADn%2BHszUR%3DzcKWDjiiS0OXDMLuz_6-hg1oHOw93s502uDv8A0w%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 [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/6B08BD98-9E7D-468C-BD6B-B1EAF0C5A0A4%40thames.id.au.
For more options, visit https://groups.google.com/d/optout.