ngine_io / ngine_io.cloudstack / 2.3.0 / module / cs_configuration Manages configuration on Apache CloudStack based clouds. | "added in version" 0.1.0 of ngine_io.cloudstack" Authors: René Moser (@resmo)ngine_io.cloudstack.cs_configuration (2.3.0) — module
Install with ansible-galaxy collection install ngine_io.cloudstack:==2.3.0
collections: - name: ngine_io.cloudstack version: 2.3.0
Manages global, zone, account, storage and cluster configurations.
- name: Ensure global configuration ngine_io.cloudstack.cs_configuration: name: router.reboot.when.outofband.migrated value: false
- name: Ensure zone configuration ngine_io.cloudstack.cs_configuration: name: router.reboot.when.outofband.migrated zone: ch-gva-01 value: true
- name: Ensure storage configuration ngine_io.cloudstack.cs_configuration: name: storage.overprovisioning.factor storage: storage01 value: 2.0
- name: Ensure account configuration ngine_io.cloudstack.cs_configuration: name: allow.public.user.templates value: false account: acme inc domain: customers
name: description: - Name of the configuration. required: true type: str zone: description: - Ensure the value for corresponding zone. type: str value: description: - Value of the configuration. required: true type: str domain: default: ROOT description: - Domain the account is related to. - Only considered if I(account) is used. type: str account: description: - Ensure the value for corresponding account. type: str api_key: description: - API key of the CloudStack API. - If not given, the C(CLOUDSTACK_KEY) env variable is considered. required: true type: str api_url: description: - URL of the CloudStack API e.g. https://cloud.example.com/client/api. - If not given, the C(CLOUDSTACK_ENDPOINT) env variable is considered. required: true type: str cluster: description: - Ensure the value for corresponding cluster. type: str storage: description: - Ensure the value for corresponding storage pool. type: str api_secret: description: - Secret key of the CloudStack API. - If not set, the C(CLOUDSTACK_SECRET) env variable is considered. required: true type: str api_timeout: default: 10 description: - HTTP timeout in seconds. - If not given, the C(CLOUDSTACK_TIMEOUT) env variable is considered. type: int api_http_method: choices: - get - post default: get description: - HTTP method used to query the API endpoint. - If not given, the C(CLOUDSTACK_METHOD) env variable is considered. type: str api_verify_ssl_cert: description: - Verify CA authority cert file. - If not given, the C(CLOUDSTACK_VERIFY) env variable is considered. type: str
Domain: description: Domain of account of the configuration. returned: success sample: ROOT type: str account: description: Account of the configuration. returned: success sample: admin type: str category: description: Category of the configuration. returned: success sample: Advanced type: str cluster: description: Cluster of the configuration. returned: success sample: cluster01 type: str description: description: Description of the configuration. returned: success sample: Setup the host to do multipath type: str name: description: Name of the configuration. returned: success sample: zone.vlan.capacity.notificationthreshold type: str scope: description: Scope (zone/cluster/storagepool/account) of the parameter that needs to be updated. returned: success sample: storagepool type: str storage: description: Storage of the configuration. returned: success sample: storage01 type: str value: description: Value of the configuration. returned: success sample: '0.75' type: str zone: description: Zone of the configuration. returned: success sample: ch-gva-01 type: str