1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/bigip_configsync_action/tasks/test-device-to-group.yaml
Tim Rupp 74ace093b8 Renames the bigip_configsync_actions module (#29747)
Retains the old name by making a symlink. We can remove it in a later
release.
2017-09-12 05:53:44 +01:00

23 lines
580 B
YAML

---
- name: Sync configuration from device to group
bigip_configsync_actions:
device_group: "{{ device_group }}"
sync_device_to_group: yes
register: result
- name: Sync configuration from device to group
assert:
that:
- result|changed
- name: Sync configuration from device to group - Idempotent check
bigip_configsync_actions:
device_group: "{{ device_group }}"
sync_device_to_group: yes
register: result
- name: Sync configuration from device to group - Idempotent check
assert:
that:
- not result|changed