BigIP_Pool monitor template not found

47 views
Skip to first unread message

Sean G.

unread,
Sep 5, 2017, 3:44:00 PM9/5/17
to Ansible Project

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

Tim

unread,
Sep 5, 2017, 9:37:11 PM9/5/17
to ansible...@googlegroups.com
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.


-tim

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/25d60d37-5624-47a8-9b8f-8f108863d61a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sean G.

unread,
Sep 8, 2017, 4:25:52 PM9/8/17
to Ansible Project

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.


-tim
On Tue, Sep 5, 2017 at 12:43 PM, Sean G. <seang....@gmail.com> 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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages