set_when_task_skipped=false is not a feature of Ansible and has never done
anything.

I see a stackoverflow post seeming to indicate it was a feature.  However,
that is incorrect.

Whatever you expected it to do, never worked to begin with.

On Mon, May 4, 2020 at 1:50 PM Meir Yanovich <meiry...@gmail.com> wrote:

> Then it failed when I remove it and when
> The register var is not set ,
> So basically what is the right way to do it ?
> The same function set_when_task_skipped=false
> Did
>
> On Mon, May 4, 2020, 9:20 PM Matt Martz <m...@sivel.net> wrote:
>
>> To my knowledge, that has in the past created a literal variable named
>> `login_app set_when_task_skipped=false`
>>
>> `set_when_task_skipped` isn't a feature of Ansible.
>>
>> We've recently made some changes to ensure that variables are legal.
>> Likely you just want:
>>
>> `register: login_app`
>>
>> On Mon, May 4, 2020 at 1:16 PM Meir Yanovich <meiry...@gmail.com> wrote:
>>
>>> i have old code which use set_when_task_skipped=false in register
>>> now it is not supported any more
>>> I'm getting on :
>>>
>>> - name: Find location
>>>   register: login_app set_when_task_skipped=false
>>>   when: result.stat.exists == True
>>>
>>>
>>> fatal: [10.0.4.211]: FAILED! =>
>>>   msg: 'Invalid variable name in ''register'' specified: 'login_app
>>> set_when_task_skipped=false'''
>>>
>>>
>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/ansible-project/9f0180e7-b516-408b-b442-620284acdb1d%40googlegroups.com
>>> <https://groups.google.com/d/msgid/ansible-project/9f0180e7-b516-408b-b442-620284acdb1d%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> --
>> Matt Martz
>> @sivel
>> sivel.net
>>
>> --
>> 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/L-qk9XOnWBw/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> ansible-project+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/CAD8N0v_OseR%3DssHP%3DKPHMuCHkE%2B7RHm1cWx6WnUuHbpb7hA%2BDg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/ansible-project/CAD8N0v_OseR%3DssHP%3DKPHMuCHkE%2B7RHm1cWx6WnUuHbpb7hA%2BDg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CA%2B-hL2UHJfAAoQ5rRyWoAHi0eqb6B5%3DCxupq%2BF%3DRhq8u%2BPvSdw%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CA%2B-hL2UHJfAAoQ5rRyWoAHi0eqb6B5%3DCxupq%2BF%3DRhq8u%2BPvSdw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Matt Martz
@sivel
sivel.net

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAD8N0v_mRK89ONjUKMmPM8YwkBPDnvXV5kPO5fjC52fsZGWCmQ%40mail.gmail.com.

Reply via email to