mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
22 lines
418 B
YAML
22 lines
418 B
YAML
|
---
|
||
|
|
||
|
- name: Delete pool - First device
|
||
|
bigip_pool:
|
||
|
name: "{{ item }}"
|
||
|
state: "absent"
|
||
|
with_items:
|
||
|
- "cs1.pool"
|
||
|
- "cs2.pool"
|
||
|
register: result
|
||
|
|
||
|
- name: Assert Delete pool
|
||
|
assert:
|
||
|
that:
|
||
|
- result|changed
|
||
|
|
||
|
- name: Sync configuration from device to group
|
||
|
bigip_configsync_actions:
|
||
|
device_group: "{{ device_group }}"
|
||
|
sync_device_to_group: yes
|
||
|
register: result
|