"I am getting a similar issue on 1.4.3"

Very ancient at this point.

Please upgrade to 1.6.8 (latest) first before asking a question, can't
spend time on the project list on older releases - sorry.




On Wed, Jul 23, 2014 at 1:23 PM, Nathan Robertson <[email protected]>
wrote:

> Michael,
>
> I am getting a similar issue on 1.4.3
>
> I think the issue is that this version of Ansible does not support this
> filter.  What version was this filter implemented?
>
> On Wednesday, April 23, 2014 5:09:46 AM UTC-7, Michael DeHaan wrote:
>
>> Sounds like the filter failed to parse your regex, or there was no
>> regex_replace filter in that version of Ansible.
>>
>> I agree this should produce an exception in these cases.
>>
>> What version of Ansible are you on?
>>
>>
>>
>>
>>
>> On Tue, Apr 22, 2014 at 11:06 PM, Camp Nou <[email protected]> wrote:
>>
>>>
>>> It seems group_by doesn't support filters?
>>>
>>> '''
>>> - hosts: all
>>>   tasks:
>>>     - name: group hosts by inventory hostname
>>>       group_by: key="{{ inventory_hostname | 
>>> regex_replace('.+\\.(prod|test|dev)\\.example\\.org',
>>> '\\1') }}"
>>> '''
>>> The task doesn't work.
>>> It will generate a group with the name "{{ inventory_hostname-|-regex_
>>> replace('.+\\.(prod|test|dev)\\.example\\.org', '\\1') }}"
>>>
>>>  --
>>> 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/7c78880d-d860-49f2-9e2a-
>>> f05a6ac4ba64%40googlegroups.com
>>> <https://groups.google.com/d/msgid/ansible-project/7c78880d-d860-49f2-9e2a-f05a6ac4ba64%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/5d80293b-2f5f-4344-85f6-cd3b6e8fb784%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/5d80293b-2f5f-4344-85f6-cd3b6e8fb784%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/CA%2BnsWgz7vEj6RQG3A6FjqScQ-FrFDZPHHtKMrZWrtQzCabBonw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to