Skip to content

Commit 6e435cb

Browse files
Merge pull request #22 from dell/RTSv1.4.1
Release version 1.4.1
2 parents 3f5334f + e1724e3 commit 6e435cb

25 files changed

+59
-63
lines changed

ChangeLog.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# ansible-unity Change Log
2+
3+
## Version 1.4.1 - released on 27/09/22
4+
- Updated the execution environment related files.
5+
26
## Version 1.4.0 - released on 28/06/22
37
- Added execution environment manifest file to support building an execution environment with ansible-builder.
48
- Added cifsserver module to support create, list and delete CIFS server.

README.md

+22-22
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The Ansible Modules for Dell Technologies (Dell) Unity allow Data Center and IT
55
The capabilities of the Ansible modules are managing consistency groups, filesystem, filesystem snapshots, CIFS server, NAS server, NFS server, NFS export, SMB share, interface, hosts, snapshots, snapshot schedules, storage pools, user quotas, quota trees and volumes. Capabilities also include gathering facts from the array. The options available for each are list, show, create, modify and delete. These tasks can be executed by running simple playbooks written in yaml syntax. The modules are written so that all the operations are idempotent, so making multiple identical requests has the same effect as making a single request.
66

77
## License
8-
The Ansible collection for Unity is released and licensed under the GPL-3.0 license. See [LICENSE](https://github.com/dell/ansible-unity/blob/1.4.0/LICENSE) for the full terms. Ansible modules and module utilities that are part of the Ansible collection for Unity are released and licensed under the Apache 2.0 license. See [MODULE-LICENSE](https://github.com/dell/ansible-unity/blob/1.4.0/MODULE-LICENSE) for the full terms.
8+
The Ansible collection for Unity is released and licensed under the GPL-3.0 license. See [LICENSE](https://github.com/dell/ansible-unity/blob/1.4.1/LICENSE) for the full terms. Ansible modules and module utilities that are part of the Ansible collection for Unity are released and licensed under the Apache 2.0 license. See [MODULE-LICENSE](https://github.com/dell/ansible-unity/blob/1.4.1/MODULE-LICENSE) for the full terms.
99

1010
## Support
1111
The Ansible collection for Unity is supported by Dell and is provided under the terms of the license attached to the collection. Please see the [LICENSE](#license) section for the full terms. Dell does not provide any support for the source code modifications. For any Ansible modules issues, questions or feedback, join the [Dell Automation Community](https://www.dell.com/community/Automation/bd-p/Automation).
@@ -18,29 +18,29 @@ This table provides information about the software prerequisites for the Ansible
1818

1919
| **Ansible Modules** | **Red Hat Enterprise Linux** | **Python version** | **Python library version** | **Ansible** |
2020
|---------------------|------------------------------|--------------------|----------------------------|-------------|
21-
| v1.4.0 | 8.4 <br> 8.5| 3.8 <br> 3.9 <br> 3.10 | 1.2.11 | 2.11 <br> 2.12 <br> 2.13|
21+
| v1.4.1 | 8.4 <br> 8.5| 3.8 <br> 3.9 <br> 3.10 | 1.2.11 | 2.11 <br> 2.12 <br> 2.13|
2222

2323
## Idempotency
2424
The modules are written in such a way that all requests are idempotent and hence fault-tolerant. It essentially means that the result of a successfully performed request is independent of the number of times it is executed.
2525

2626
## List of Ansible Modules for Dell Unity
27-
* [Consistency group module](https://github.com/dell/ansible-unity/blob/1.4.0/docs/Product%20Guide.md#consistency-group-module)
28-
* [Filesystem module](https://github.com/dell/ansible-unity/blob/1.4.0/docs/Product%20Guide.md#file-system-module)
29-
* [Filesystem snapshot module](https://github.com/dell/ansible-unity/blob/1.4.0/docs/Product%20Guide.md#filesystem-snapshot-module)
30-
* [Info module](https://github.com/dell/ansible-unity/blob/1.4.0/docs/Product%20Guide.md#info-module)
31-
* [Host module](https://github.com/dell/ansible-unity/blob/1.4.0/docs/Product%20Guide.md#host-module)
32-
* [CIFS server module](https://github.com/dell/ansible-unity/blob/1.4.0/docs/Product%20Guide.md#cifs-server-module)
33-
* [NAS server module](https://github.com/dell/ansible-unity/blob/1.4.0/docs/Product%20Guide.md#nas-server-module)
34-
* [NFS server module](https://github.com/dell/ansible-unity/blob/1.4.0/docs/Product%20Guide.md#nfs-server-module)
35-
* [NFS export module](https://github.com/dell/ansible-unity/blob/1.4.0/docs/Product%20Guide.md##nfs-module)
36-
* [SMB share module](https://github.com/dell/ansible-unity/blob/1.4.0/docs/Product%20Guide.md#smb-share-module)
37-
* [Interface module](https://github.com/dell/ansible-unity/blob/1.4.0/docs/Product%20Guide.md#interface-module)
38-
* [Snapshot module](https://github.com/dell/ansible-unity/blob/1.4.0/docs/Product%20Guide.md#snapshot-module)
39-
* [Snapshot schedule module](https://github.com/dell/ansible-unity/blob/1.4.0/docs/Product%20Guide.md#snapshot-schedule-module)
40-
* [Storage pool module](https://github.com/dell/ansible-unity/blob/1.4.0/docs/Product%20Guide.md#storage-pool-module)
41-
* [User quota module](https://github.com/dell/ansible-unity/blob/1.4.0/docs/Product%20Guide.md#user-quota-module)
42-
* [Quota tree module ](https://github.com/dell/ansible-unity/blob/1.4.0/docs/Product%20Guide.md#quota-tree-module)
43-
* [Volume module](https://github.com/dell/ansible-unity/blob/1.4.0/docs/Product%20Guide.md#volume-module)
27+
* [Consistency group module](https://github.com/dell/ansible-unity/blob/1.4.1/docs/Product%20Guide.md#consistency-group-module)
28+
* [Filesystem module](https://github.com/dell/ansible-unity/blob/1.4.1/docs/Product%20Guide.md#file-system-module)
29+
* [Filesystem snapshot module](https://github.com/dell/ansible-unity/blob/1.4.1/docs/Product%20Guide.md#filesystem-snapshot-module)
30+
* [Info module](https://github.com/dell/ansible-unity/blob/1.4.1/docs/Product%20Guide.md#info-module)
31+
* [Host module](https://github.com/dell/ansible-unity/blob/1.4.1/docs/Product%20Guide.md#host-module)
32+
* [CIFS server module](https://github.com/dell/ansible-unity/blob/1.4.1/docs/Product%20Guide.md#cifs-server-module)
33+
* [NAS server module](https://github.com/dell/ansible-unity/blob/1.4.1/docs/Product%20Guide.md#nas-server-module)
34+
* [NFS server module](https://github.com/dell/ansible-unity/blob/1.4.1/docs/Product%20Guide.md#nfs-server-module)
35+
* [NFS export module](https://github.com/dell/ansible-unity/blob/1.4.1/docs/Product%20Guide.md##nfs-module)
36+
* [SMB share module](https://github.com/dell/ansible-unity/blob/1.4.1/docs/Product%20Guide.md#smb-share-module)
37+
* [Interface module](https://github.com/dell/ansible-unity/blob/1.4.1/docs/Product%20Guide.md#interface-module)
38+
* [Snapshot module](https://github.com/dell/ansible-unity/blob/1.4.1/docs/Product%20Guide.md#snapshot-module)
39+
* [Snapshot schedule module](https://github.com/dell/ansible-unity/blob/1.4.1/docs/Product%20Guide.md#snapshot-schedule-module)
40+
* [Storage pool module](https://github.com/dell/ansible-unity/blob/1.4.1/docs/Product%20Guide.md#storage-pool-module)
41+
* [User quota module](https://github.com/dell/ansible-unity/blob/1.4.1/docs/Product%20Guide.md#user-quota-module)
42+
* [Quota tree module ](https://github.com/dell/ansible-unity/blob/1.4.1/docs/Product%20Guide.md#quota-tree-module)
43+
* [Volume module](https://github.com/dell/ansible-unity/blob/1.4.1/docs/Product%20Guide.md#volume-module)
4444

4545
## Installation of SDK
4646
* Install python sdk named 'storops'. It can be installed using pip, based on appropriate python version.
@@ -63,7 +63,7 @@ The modules are written in such a way that all requests are idempotent and hence
6363
#### Offline Installation of Collections
6464
1. Download the latest tar build from any of the available distribution channel [Ansible Galaxy](https://galaxy.ansible.com/dellemc/unity) /[Automation Hub](https://console.redhat.com/ansible/automation-hub/repo/published/dellemc/unity) and use the following command to install the collection anywhere in your system:
6565

66-
ansible-galaxy collection install dellemc-unity-1.4.0.tar.gz -p <install_path>
66+
ansible-galaxy collection install dellemc-unity-1.4.1.tar.gz -p <install_path>
6767

6868
2. Set the environment variable:
6969

@@ -89,7 +89,7 @@ The modules are written in such a way that all requests are idempotent and hence
8989
ansible-doc dellemc.unity.info
9090

9191
## Running Ansible Modules
92-
The Ansible server must be configured with Python library for Unity to run the Ansible playbooks. The [Documents]( https://github.com/dell/ansible-unity/tree/1.4.0/docs ) provide information on different Ansible modules along with their functions and syntax. The parameters table in the Product Guide provides information on various parameters which need to be configured before running the modules.
92+
The Ansible server must be configured with Python library for Unity to run the Ansible playbooks. The [Documents]( https://github.com/dell/ansible-unity/tree/1.4.1/docs ) provide information on different Ansible modules along with their functions and syntax. The parameters table in the Product Guide provides information on various parameters which need to be configured before running the modules.
9393

9494
## SSL Certificate Validation
9595

@@ -114,7 +114,7 @@ Ansible can also be installed in a container environment. Ansible Builder provid
114114
* Install the ansible builder package using:
115115

116116
pip3 install ansible-builder
117-
* Create the execution environment using:
117+
* Ensure the execution-environment.yml is at the root of collection and create the execution environment using:
118118

119119
ansible-builder build --tag <tag_name> --container-runtime docker
120120
* After the image is built, run the container using:

docs/Product Guide.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Ansible Modules for Dell Technologies Unity
2-
## Product Guide 1.4.0
2+
## Product Guide 1.4.1
33
© 2022 Dell Inc. or its subsidiaries. All rights reserved. Dell and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners.
44

55
--------------

docs/Release Notes.md

+6-14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
**Ansible Modules for Dell Technologies Unity**
22
=========================================
3-
### Release Notes 1.4.0
3+
### Release Notes 1.4.1
44

55
> © 2022 Dell Inc. or its subsidiaries. All rights reserved. Dell
66
> and other trademarks are trademarks of Dell Inc. or its
@@ -26,9 +26,9 @@ The table in this section lists the revision history of this document.
2626

2727
Table 1. Revision history
2828

29-
| Revision | Date | Description |
30-
|----------|-----------|-----------------------------------------------------------|
31-
| 01 | June 2022 | Current release of Ansible Modules for Dell Unity 1.4.0 |
29+
| Revision | Date | Description |
30+
|----------|----------------|---------------------------------------------------------|
31+
| 01 | September 2022 | Current release of Ansible Modules for Dell Unity 1.4.1 |
3232

3333
Product Description
3434
-------------------
@@ -38,15 +38,7 @@ New features & enhancements
3838
---------------------------
3939
This release has the following changes -
4040

41-
- Added execution environment manifest file to support building an execution environment with ansible-builder.
42-
- Added cifsserver module to support create, list and delete CIFS server.
43-
- Added nfsserver module to support create, list and delete NFS server.
44-
- Added interface module to support create, list and delete interface.
45-
- Enhance nfs module to support advanced host management option.
46-
- Enhanced info module to list cifs server, nfs servers, ethernet port and file interface.
47-
- Enhanced nas server module to support create, modify and delete of nas server replication.
48-
- Enhanced filesystem module to support create, modify and delete of filesystem replication.
49-
- Check mode is supported for Info.
41+
- Updated the execution environment related files.
5042

5143
Known issues
5244
------------
@@ -77,7 +69,7 @@ for Unity GitHub](https://github.com/dell/ansible-unity/) page.
7769

7870
Documentation
7971
-------------
80-
The documentation is available on [Ansible Modules for Unity GitHub](https://github.com/dell/ansible-unity/tree/1.4.0/docs)
72+
The documentation is available on [Ansible Modules for Unity GitHub](https://github.com/dell/ansible-unity/tree/1.4.1/docs)
8173
page. It includes the following:
8274
- README
8375
- Release Notes (this document)

galaxy.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace: dellemc
99
name: unity
1010

1111
# The version of the collection. Must be compatible with semantic versioning
12-
version: 1.4.0
12+
version: 1.4.1
1313

1414
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
1515
readme: README.md
@@ -47,13 +47,13 @@ tags: [storage]
4747
dependencies: {}
4848

4949
# The URL of the originating SCM repository
50-
repository: https://github.com/dell/ansible-unity/tree/1.4.0
50+
repository: https://github.com/dell/ansible-unity/tree/1.4.1
5151

5252
# The URL to any online docs
53-
documentation: https://github.com/dell/ansible-unity/tree/1.4.0/docs
53+
documentation: https://github.com/dell/ansible-unity/tree/1.4.1/docs
5454

5555
# The URL to the homepage of the collection/project
56-
homepage: https://github.com/dell/ansible-unity/tree/1.4.0
56+
homepage: https://github.com/dell/ansible-unity/tree/1.4.1
5757

5858
# The URL to the collection issue tracker
5959
issues: https://www.dell.com/community/Automation/bd-p/Automation

meta/execution-environment.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
version: 1
33
dependencies:
4-
galaxy: ../requirements.yml
5-
python: ../requirements.txt
4+
galaxy: requirements.yml
5+
python: requirements.txt

plugins/modules/cifsserver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280

281281
UNITY_SDK_VERSION_CHECK = utils.storops_version_check()
282282

283-
application_type = "Ansible/1.4.0"
283+
application_type = "Ansible/1.4.1"
284284

285285

286286
class CIFSServer(object):

plugins/modules/consistencygroup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@
454454

455455
UNITY_SDK_VERSION_CHECK = utils.storops_version_check()
456456

457-
application_type = "Ansible/1.4.0"
457+
application_type = "Ansible/1.4.1"
458458

459459

460460
class ConsistencyGroup(object):

plugins/modules/filesystem.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@
715715

716716
UNITY_SDK_VERSION_CHECK = utils.storops_version_check()
717717

718-
application_type = "Ansible/1.4.0"
718+
application_type = "Ansible/1.4.1"
719719

720720

721721
class Filesystem(object):

plugins/modules/filesystem_snapshot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@
271271
HAS_UNITY_SDK = utils.get_unity_sdk()
272272
UNITY_SDK_VERSION_CHECK = utils.storops_version_check()
273273

274-
application_type = "Ansible/1.4.0"
274+
application_type = "Ansible/1.4.1"
275275

276276

277277
class FilesystemSnapshot(object):

plugins/modules/host.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@
285285
HAS_UNITY_SDK = utils.get_unity_sdk()
286286
UNITY_SDK_VERSION_CHECK = utils.storops_version_check()
287287

288-
application_type = "Ansible/1.4.0"
288+
application_type = "Ansible/1.4.1"
289289

290290

291291
class Host(object):

plugins/modules/info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@
598598
HAS_UNITY_SDK = utils.get_unity_sdk()
599599
UNITY_SDK_VERSION_CHECK = utils.storops_version_check()
600600

601-
application_type = "Ansible/1.4.0"
601+
application_type = "Ansible/1.4.1"
602602

603603

604604
class Info(object):

plugins/modules/interface.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231

232232
UNITY_SDK_VERSION_CHECK = utils.storops_version_check()
233233

234-
application_type = "Ansible/1.4.0"
234+
application_type = "Ansible/1.4.1"
235235

236236

237237
class Interface(object):

plugins/modules/nasserver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@
483483
HAS_UNITY_SDK = utils.get_unity_sdk()
484484
UNITY_SDK_VERSION_CHECK = utils.storops_version_check()
485485

486-
application_type = "Ansible/1.4.0"
486+
application_type = "Ansible/1.4.1"
487487

488488

489489
class NASServer(object):

plugins/modules/nfs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@
659659
HOST_STATE_LIST = ['present-in-export', 'absent-in-export']
660660
STATE_LIST = ['present', 'absent']
661661

662-
application_type = "Ansible/1.4.0"
662+
application_type = "Ansible/1.4.1"
663663

664664

665665
class NFS(object):

plugins/modules/nfsserver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213

214214
UNITY_SDK_VERSION_CHECK = utils.storops_version_check()
215215

216-
application_type = "Ansible/1.4.0"
216+
application_type = "Ansible/1.4.1"
217217

218218

219219
class NFSServer(object):

plugins/modules/smbshare.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
HAS_UNITY_SDK = utils.get_unity_sdk()
293293
UNITY_SDK_VERSION_CHECK = utils.storops_version_check()
294294

295-
application_type = "Ansible/1.4.0"
295+
application_type = "Ansible/1.4.1"
296296

297297

298298
class SMBShare(object):

plugins/modules/snapshot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
HAS_UNITY_SDK = utils.get_unity_sdk()
234234
UNITY_SDK_VERSION_CHECK = utils.storops_version_check()
235235

236-
application_type = "Ansible/1.4.0"
236+
application_type = "Ansible/1.4.1"
237237

238238

239239
class Snapshot(object):

plugins/modules/snapshotschedule.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@
359359

360360
UNITY_SDK_VERSION_CHECK = utils.storops_version_check()
361361

362-
application_type = "Ansible/1.4.0"
362+
application_type = "Ansible/1.4.1"
363363

364364

365365
class SnapshotSchedule(object):

plugins/modules/storagepool.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@
317317
UNITY_SDK_VERSION_CHECK = UNITY_SDK_VERSION['supported_version']
318318
UNITY_SDK_VERSION_ERROR = UNITY_SDK_VERSION['unsupported_version_message']
319319

320-
application_type = "Ansible/1.4.0"
320+
application_type = "Ansible/1.4.1"
321321

322322

323323
class StoragePool(object):

plugins/modules/tree_quota.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@
259259

260260
UNITY_SDK_VERSION_CHECK = utils.storops_version_check()
261261

262-
application_type = "Ansible/1.4.0"
262+
application_type = "Ansible/1.4.1"
263263

264264

265265
class QuotaTree(object):

plugins/modules/user_quota.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@
399399

400400
UNITY_SDK_VERSION_CHECK = utils.storops_version_check()
401401

402-
application_type = "Ansible/1.4.0"
402+
application_type = "Ansible/1.4.1"
403403

404404

405405
class UserQuota(object):

plugins/modules/volume.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315

316316
UNITY_SDK_VERSION_CHECK = utils.storops_version_check()
317317

318-
application_type = "Ansible/1.4.0"
318+
application_type = "Ansible/1.4.1"
319319

320320

321321
def is_none_or_empty_string(param):

tests/sanity/ignore-2.13.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ plugins/modules/cifsserver.py validate-modules:missing-gplv3-license
1616
plugins/modules/nfsserver.py validate-modules:missing-gplv3-license
1717
plugins/modules/host.py import-2.7
1818
plugins/modules/interface.py import-2.7
19-
plugins/modules/interface.py validate-modules:missing-gplv3-license
19+
plugins/modules/interface.py validate-modules:missing-gplv3-license

tests/unit/plugins/modules/test_nfs.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def test_host_access_nfs_share_subnet_negative(self, nfs_module_mock):
131131
'nfs_export_name': "nfsshare_dummy_name",
132132
'filesystem_id': "fs_id_1",
133133
'adv_host_mgmt_enabled': False,
134-
'read_only_root_hosts': [{'subnet': "10.255.2.1"}],
134+
'read_only_root_hosts': [{'subnet': "1x.x.x.x"}],
135135
'host_state': 'present-in-export',
136136
'state': 'present'
137137
})
@@ -147,7 +147,7 @@ def test_host_access_nfs_share_advhostmngmt_negative(self, nfs_module_mock):
147147
self.get_module_args.update({
148148
'nfs_export_name': "nfsshare_dummy_name",
149149
'filesystem_id': "fs_id_1",
150-
'read_only_root_hosts': [{'subnet': "10.255.2.1/10"}],
150+
'read_only_root_hosts': [{'subnet': "1x.x.x.x/10"}],
151151
'host_state': 'present-in-export',
152152
'state': 'present'
153153
})

0 commit comments

Comments
 (0)