Forum Discussion

Tim_Harber's avatar
Jun 15, 2020

Ansible - How can I add a pool to a wide ip without replacing existing pools

Perhaps a newbie question, but how can I add a new pool to an existing wide ip that contains already contains a pool without replacing it. Take the following playbook code for example. This essentially does a "replace-all-with" which is not what I want. I just want to add this new pool in addition to the already existing one. How can this be accomplished?

 

- name: Add wide ip pool to wide ip
      bigip_gtm_wide_ip:
        type: a
        name: "{{ wide_ip_name }}"
        pools:
        - name: "{{ wide_ip_pool_name }}"
        provider: "{{ provider }}"
No RepliesBe the first to reply