mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
cloudstack: cs_iso: add display_text param
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
- name: test update iso in check mdoe
|
||||
cs_iso:
|
||||
name: "{{ cs_resource_prefix }}-iso"
|
||||
display_text: "{{ cs_resource_prefix }}-iso display_text"
|
||||
url: http://mirror.switch.ch/ftp/mirror/debian-cd/current/amd64/iso-cd/debian-7.7.0-amd64-netinst.iso
|
||||
os_type: CentOS 7
|
||||
register: iso
|
||||
@@ -64,6 +65,7 @@
|
||||
- name: test update iso
|
||||
cs_iso:
|
||||
name: "{{ cs_resource_prefix }}-iso"
|
||||
display_text: "{{ cs_resource_prefix }}-iso display_text"
|
||||
url: http://mirror.switch.ch/ftp/mirror/debian-cd/current/amd64/iso-cd/debian-7.7.0-amd64-netinst.iso
|
||||
os_type: CentOS 7
|
||||
register: iso
|
||||
@@ -72,7 +74,7 @@
|
||||
that:
|
||||
- iso|changed
|
||||
- iso.name == "{{ cs_resource_prefix }}-iso"
|
||||
- iso.display_text == "{{ cs_resource_prefix }}-iso"
|
||||
- iso.display_text == "{{ cs_resource_prefix }}-iso display_text"
|
||||
|
||||
- name: test update iso idempotence
|
||||
cs_iso:
|
||||
@@ -85,7 +87,7 @@
|
||||
that:
|
||||
- not iso|changed
|
||||
- iso.name == "{{ cs_resource_prefix }}-iso"
|
||||
- iso.display_text == "{{ cs_resource_prefix }}-iso"
|
||||
- iso.display_text == "{{ cs_resource_prefix }}-iso display_text"
|
||||
|
||||
- name: test remove iso in check mode
|
||||
cs_iso:
|
||||
@@ -98,7 +100,7 @@
|
||||
that:
|
||||
- iso|changed
|
||||
- iso.name == "{{ cs_resource_prefix }}-iso"
|
||||
- iso.display_text == "{{ cs_resource_prefix }}-iso"
|
||||
- iso.display_text == "{{ cs_resource_prefix }}-iso display_text"
|
||||
|
||||
- name: test remove iso
|
||||
cs_iso:
|
||||
@@ -110,7 +112,7 @@
|
||||
that:
|
||||
- iso|changed
|
||||
- iso.name == "{{ cs_resource_prefix }}-iso"
|
||||
- iso.display_text == "{{ cs_resource_prefix }}-iso"
|
||||
- iso.display_text == "{{ cs_resource_prefix }}-iso display_text"
|
||||
|
||||
- name: test remove iso idempotence
|
||||
cs_iso:
|
||||
|
||||
Reference in New Issue
Block a user