1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-25 10:41:53 +00:00

cloudstack: rename new module to cs_service_offering (#34555)

* cloudstack: rename cs_serviceoffer to cs_service_offering

* adjust references to old name

* cs_service_offering: fix limitcpuuse not handled

* minor docs fix

* update changelog
This commit is contained in:
René Moser 2018-01-07 17:21:56 +01:00 committed by GitHub
parent d2ccc13857
commit 439e64256f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 39 additions and 37 deletions

View file

@ -1,6 +1,6 @@
---
- name: setup service offering
cs_serviceoffer:
cs_service_offering:
name: Micro
state: absent
register: so
@ -10,7 +10,7 @@
- so is successful
- name: create service offering in check mode
cs_serviceoffer:
cs_service_offering:
name: Micro
display_text: Micro 512mb 1cpu
cpu_number: 1
@ -29,7 +29,7 @@
- so is changed
- name: create service offering
cs_serviceoffer:
cs_service_offering:
name: Micro
display_text: Micro 512mb 1cpu
cpu_number: 1
@ -55,7 +55,7 @@
- so.storage_type == "local"
- name: create service offering idempotence
cs_serviceoffer:
cs_service_offering:
name: Micro
display_text: Micro 512mb 1cpu
cpu_number: 1
@ -81,7 +81,7 @@
- so.storage_type == "local"
- name: update service offering in check mode
cs_serviceoffer:
cs_service_offering:
name: Micro
display_text: Micro RAM 512MB 1vCPU
register: so
@ -100,7 +100,7 @@
- so.storage_type == "local"
- name: update service offering
cs_serviceoffer:
cs_service_offering:
name: Micro
display_text: Micro RAM 512MB 1vCPU
register: so
@ -118,7 +118,7 @@
- so.storage_type == "local"
- name: update service offering idempotence
cs_serviceoffer:
cs_service_offering:
name: Micro
display_text: Micro RAM 512MB 1vCPU
register: so
@ -136,7 +136,7 @@
- so.storage_type == "local"
- name: remove service offering in check mode
cs_serviceoffer:
cs_service_offering:
name: Micro
state: absent
check_mode: true
@ -155,7 +155,7 @@
- so.storage_type == "local"
- name: remove service offering
cs_serviceoffer:
cs_service_offering:
name: Micro
state: absent
register: so
@ -173,7 +173,7 @@
- so.storage_type == "local"
- name: remove service offering idempotence
cs_serviceoffer:
cs_service_offering:
name: Micro
state: absent
register: so

View file

@ -1,6 +1,6 @@
---
- name: setup system offering
cs_serviceoffer:
cs_service_offering:
name: System Offering for Ansible
is_system: true
state: absent
@ -11,7 +11,7 @@
- so is successful
- name: fail missing storage type and is_system
cs_serviceoffer:
cs_service_offering:
name: System Offering for Ansible
cpu_number: 1
cpu_speed: 500
@ -31,7 +31,7 @@
- so.msg.startswith('missing required arguments:')
- name: create system service offering in check mode
cs_serviceoffer:
cs_service_offering:
name: System Offering for Ansible
cpu_number: 1
cpu_speed: 500
@ -51,7 +51,7 @@
- so is changed
- name: create system service offering
cs_serviceoffer:
cs_service_offering:
name: System Offering for Ansible
cpu_number: 1
cpu_speed: 500
@ -82,7 +82,7 @@
- so.is_system == true
- name: create system service offering idempotence
cs_serviceoffer:
cs_service_offering:
name: System Offering for Ansible
cpu_number: 1
cpu_speed: 500
@ -113,7 +113,7 @@
- so.is_system == true
- name: remove system service offering in check mode
cs_serviceoffer:
cs_service_offering:
name: System Offering for Ansible
is_system: true
state: absent
@ -127,7 +127,7 @@
- so.is_system == true
- name: remove system service offering
cs_serviceoffer:
cs_service_offering:
name: System Offering for Ansible
is_system: true
state: absent
@ -140,7 +140,7 @@
- so.is_system == true
- name: remove system service offering idempotence
cs_serviceoffer:
cs_service_offering:
name: System Offering for Ansible
is_system: true
state: absent