"Though, I guess it's not idempotent all by itself"

Easily dealt with :)

   - shell: foo
     changed_when: False

Running commands that don't change anything is perfectly fine in the config
management world, rather, the concern should be changing things that don't
need to be changed :)




On Tue, Aug 19, 2014 at 5:10 PM, Romeo Theriault <[email protected]>
wrote:

> Though, I guess it's not idempotent all by itself... You'd still have to
> store the output in a register, etc...
>
>
> On Tue, Aug 19, 2014 at 11:09 AM, Romeo Theriault <
> [email protected]> wrote:
>
>> On Sat, May 3, 2014 at 10:48 PM, Juergen Brendel <[email protected]>
>> wrote:
>>>
>>>
>>> Later on in your playbook, you can then refer to the unique ID like so:
>>>
>>> - name: Create a directory named after my unique ID
>>>   file: path=/tmp/{{ my_unique_id.stdout }} state=directory
>>>
>>
>> If you're on linux you can just use the 'mktemp' utility, which is part
>> of coreutils.
>>
>>
>> --
>> Romeo
>>
>
>
>
> --
> Romeo
>
> --
> 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/CACUx58MroO2rYGg8OOvedQemR4OsC_4A%3D8khnev1CFarXAERSg%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CACUx58MroO2rYGg8OOvedQemR4OsC_4A%3D8khnev1CFarXAERSg%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%2BnsWgytdOfFg3nD%2BeppkVbHw3TFZHJjnBi2fVkS7hNofUZpLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to