mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-05-07 13:53:15 +00:00
Switch Snapshot module to OpenStackModule
Switch snapshot module to the general OpenStackModule. Change-Id: I0f4281324e5276122f51722c7b8e79ee185fd476
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
cloud: "{{ cloud }}"
|
||||
name: ansible_volume_snapshot
|
||||
register: snap_info
|
||||
ignore_errors: sdk_version is version(0.49, '<')
|
||||
ignore_errors: sdk_version is version('0.49', '<')
|
||||
|
||||
- name: Create volume backup
|
||||
openstack.cloud.volume_backup:
|
||||
@@ -30,14 +30,14 @@
|
||||
display_name: ansible_volume_backup
|
||||
volume: ansible_volume
|
||||
register: vol_backup
|
||||
ignore_errors: sdk_version is version(0.49, '<')
|
||||
ignore_errors: sdk_version is version('0.49', '<')
|
||||
|
||||
- name: Get backup info
|
||||
openstack.cloud.volume_backup_info:
|
||||
cloud: "{{ cloud }}"
|
||||
name: ansible_volume_backup
|
||||
register: backup_info
|
||||
ignore_errors: sdk_version is version(0.49, '<')
|
||||
ignore_errors: sdk_version is version('0.49', '<')
|
||||
|
||||
- debug: var=vol
|
||||
|
||||
|
||||
Reference in New Issue
Block a user