🚧 Add playbook to show state of destination cloud

This commit is contained in:
Neill Cox 2023-11-13 08:06:29 +00:00
parent 9a7c57e824
commit 9758e5ce09
2 changed files with 80 additions and 5 deletions

View file

@ -10,11 +10,11 @@
openstack.cloud.compute_flavor_info:
cloud: src_admin
register: src_flavors_info
- name: show dst flavors
- name: Display dst flavor names
ansible.builtin.debug:
msg: "{{ dst_flavors_info | community.general.json_query('openstack_flavors[*].name') }}"
- name: show src flavor names
debug:
msg: "{{dst_flavors_info}}"
- name: show src flavors
debug:
msg: "{{src_flavors_info}}"
msg: "{{ src_flavors_info | community.general.json_query('openstack_flavors[*].name') }}"