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]> 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].
> 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/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/CAB0Zv8gXPvZ%2Bscw1j20_jrgJhD1Ms1XGsXZ4-UmxnOFg5Zp5hA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to