Thanks for the response. I wound up fixing it by fixing my syntax:
name: "{{((item[0], item[1],'_80_POOL') | join )| upper }}"
was what I needed for the with_nested.
- Sean
On Tuesday, September 5, 2017 at 9:37:11 PM UTC-4, Tim Rupp wrote:
>
> Sean, try the module found in the f5-ansible side-band repository here. It
> will be upstreamed once the new dev window for Ansible is opened.
>
> https://github.com/F5Networks/f5-ansible/blob/devel/library/bigip_pool.py
>
> -tim
>
> On Tue, Sep 5, 2017 at 12:43 PM, Sean G. <[email protected]
> <javascript:>> wrote:
>
>>
>> I have a play that works when I use:
>> monitors: "/Common/http" or any of the other default montors, but when I
>> try to use one that I created manually I get "01070022:3: The monitor
>> template /Common/SPIFFYCUSTOM_MONITOR was not found.'"
>>
>> - name: Create or Config non-clientweb Pools
>> bigip_pool:
>> lb_method: "least_connection_member"
>> monitors: "/Common/SPIFFYCUSTOM_MONITOR"
>> name: "{{ item | upper }}_80_POOL"
>> server: "{{ inventory_hostname }}"
>> slow_ramp_time: "120"
>> state: present
>> user: "{{ f5_user }}"
>> password: "{{ f5_pass }}"
>> with_items: "{{ Pools }}"
>> delegate_to: localhost
>>
>> It works fine if I add the custom monitor via the GUI client after the
>> pool is created, am I missing something on the path to the monitor?
>>
>> -Sean
>>
>> --
>> 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] <javascript:>.
>> To post to this group, send email to [email protected]
>> <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/25d60d37-5624-47a8-9b8f-8f108863d61a%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/ansible-project/25d60d37-5624-47a8-9b8f-8f108863d61a%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/f92511b9-cc7f-41ce-86c4-3d60fffd061e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.