Change order of GTM wide ip pools

10 views
Skip to first unread message

Sharon Day

unread,
Jul 12, 2022, 12:14:01 PM7/12/22
to Ansible Project
I'm trying to change the order of the two pools assigned to my F5 GTM wide IP.  I have a playbook and with this playbook I'm able to change the load balance method but when I change the order for the pools nothing happens.  I don't get an error it just doesn't change anything.  Has anyone else had this experience.

    - name: Change pool order
      bigip_gtm_wide_ip:
        pool_lb_method: global-availability
        name: wide-ip-1
        type: a
        pools:
          - name: pool-1  -----> pool-1 is currently set to order of 0
            order: 1
          - name: pool-2
            order: 0  -----> pool-2 is currently set to order of 1
        provider:
            server_port: 443
            server: "{{ inventory_hostname }}"
            validate_certs: no
      delegate_to: localhost
Reply all
Reply to author
Forward
0 new messages