Skip to content

Commit 9f05f80

Browse files
authored
Prepare release 2.4.0 (#132)
skip-checks:true
1 parent 1f84c5d commit 9f05f80

File tree

7 files changed

+37
-15
lines changed

7 files changed

+37
-15
lines changed

.github/workflows/integration.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,14 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
python-version:
21-
- "3.10"
21+
- "3.11"
2222
group:
2323
- 1
2424
- 2
2525
ansible-branch:
26-
- stable-2.14
26+
- stable-2.17
2727
container-version:
2828
- 1.4.0
29-
- 1.2.0
3029
steps:
3130
- name: Check out code
3231
uses: actions/checkout@v4

.github/workflows/sanity.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
ansible:
22-
- stable-2.12
23-
- stable-2.13
24-
- stable-2.14
25-
- devel
26-
runs-on: ubuntu-20.04
22+
- stable-2.15
23+
- stable-2.16
24+
- stable-2.17
25+
- devel
26+
runs-on: ubuntu-22.04
2727
steps:
2828
- name: Check out code
2929
uses: actions/checkout@v4
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Python
3434
uses: actions/setup-python@v5
3535
with:
36-
python-version: "3.10"
36+
python-version: "3.11"
3737

3838
- name: Install ansible-base (${{ matrix.ansible }})
3939
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check

CHANGELOG.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ Apache CloudStack Collection Release Notes
55
.. contents:: Topics
66

77

8+
v2.4.0
9+
======
10+
11+
Minor Changes
12+
-------------
13+
14+
- Added possiblity to disable certs validation using ``validate_certs`` argument (https://github.com/ngine-io/ansible-collection-cloudstack/pull/131).
15+
- cs_project - Extended to pass ``cleanup=true`` to the deleteProject API when deleting a project (https://github.com/ngine-io/ansible-collection-cloudstack/pull/122).
16+
817
v2.3.0
918
======
1019

changelogs/changelog.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,14 @@ releases:
126126
- cs_instance-pod-cluster-args.yml
127127
- details_cpu_memory.yml
128128
release_date: '2022-12-04'
129+
2.4.0:
130+
changes:
131+
minor_changes:
132+
- Added possiblity to disable certs validation using ``validate_certs`` argument
133+
(https://github.com/ngine-io/ansible-collection-cloudstack/pull/131).
134+
- cs_project - Extended to pass ``cleanup=true`` to the deleteProject API when
135+
deleting a project (https://github.com/ngine-io/ansible-collection-cloudstack/pull/122).
136+
fragments:
137+
- cs_project_cleanup_true.yml
138+
- validate-certs.yml
139+
release_date: '2024-08-23'

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ tags:
2323
- cloud
2424
- cloudstack
2525
- ngine_io
26-
version: 2.3.0
26+
version: 2.4.0

plugins/doc_fragments/cloudstack.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
55

66
from __future__ import absolute_import, division, print_function
7+
78
__metaclass__ = type
89

910

1011
class ModuleDocFragment(object):
1112

1213
# Standard cloudstack documentation fragment
13-
DOCUMENTATION = r'''
14+
DOCUMENTATION = r"""
1415
options:
1516
api_key:
1617
description:
@@ -55,10 +56,11 @@ class ModuleDocFragment(object):
5556
- This should only be used on personally controlled sites using self-signed certificates.
5657
type: bool
5758
default: true
59+
version_added: 2.4.0
5860
requirements:
5961
- python >= 2.6
6062
- cs >= 0.9.0
6163
notes:
6264
- A detailed guide about cloudstack modules can be found in the L(CloudStack Cloud Guide,../scenario_guides/guide_cloudstack.html).
6365
- This module supports check mode.
64-
'''
66+
"""

plugins/module_utils/cloudstack.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# Simplified BSD License (see licenses/simplified_bsd.txt or https://opensource.org/licenses/BSD-2-Clause)
44

55
from __future__ import absolute_import, division, print_function
6+
67
__metaclass__ = type
78

89

@@ -11,8 +12,8 @@
1112
import time
1213
import traceback
1314

14-
from ansible.module_utils._text import to_text, to_native
15-
from ansible.module_utils.basic import missing_required_lib, env_fallback
15+
from ansible.module_utils._text import to_native, to_text
16+
from ansible.module_utils.basic import env_fallback, missing_required_lib
1617

1718
CS_IMP_ERR = None
1819
try:
@@ -35,7 +36,7 @@ def cs_argument_spec():
3536
api_http_method=dict(type='str', fallback=(env_fallback, ['CLOUDSTACK_METHOD']), choices=['get', 'post'], default='get'),
3637
api_timeout=dict(type='int', fallback=(env_fallback, ['CLOUDSTACK_TIMEOUT']), default=10),
3738
api_verify_ssl_cert=dict(type='str', fallback=(env_fallback, ['CLOUDSTACK_VERIFY'])),
38-
validate_certs=dict(type='str', fallback=(env_fallback, ['CLOUDSTACK_DANGEROUS_NO_TLS_VERIFY']), default=True),
39+
validate_certs=dict(type='bool', fallback=(env_fallback, ['CLOUDSTACK_DANGEROUS_NO_TLS_VERIFY']), default=True),
3940
)
4041

4142

0 commit comments

Comments
 (0)