Skip to content

Commit f4cb455

Browse files
Merge pull request #38 from dell/release-1.7
Release version 1.7.0
2 parents 2d413ce + ca6b756 commit f4cb455

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+5315
-225
lines changed

.ansible-lint

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
exclude_paths:
2+
- changelogs/
3+
- .github/
4+
- meta/

.github/workflows/ansible-test.yml

Lines changed: 44 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
ansible-version: [stable-2.12]
18+
ansible-version: [stable-2.13]
1919
steps:
2020
- name: Check out code
2121
uses: actions/checkout@v2
@@ -50,11 +50,9 @@ jobs:
5050
fail-fast: false
5151
matrix:
5252
python-version: ["3.9", "3.10", "3.11"]
53-
ansible-version: [stable-2.12, stable-2.13, stable-2.14]
53+
ansible-version: [stable-2.13, stable-2.14, stable-2.15]
5454
exclude:
5555
# Python 3.11 is supported only from ansible-core 2.14 onwards
56-
- python-version: "3.11"
57-
ansible-version: stable-2.12
5856
- python-version: "3.11"
5957
ansible-version: stable-2.13
6058

@@ -93,7 +91,7 @@ jobs:
9391
strategy:
9492
fail-fast: false
9593
matrix:
96-
ansible-version: [stable-2.12, stable-2.13, stable-2.14]
94+
ansible-version: [stable-2.13, stable-2.14, stable-2.15]
9795

9896
steps:
9997
- name: Set up Python 3.9
@@ -121,3 +119,44 @@ jobs:
121119
- name: Run sanity tests
122120
run: ansible-test sanity --docker -v --color
123121
working-directory: /home/runner/.ansible/collections/ansible_collections/dellemc/unity
122+
123+
lint:
124+
name: Ansible lint
125+
runs-on: ubuntu-latest
126+
needs: [build]
127+
strategy:
128+
fail-fast: false
129+
matrix:
130+
python-version: ["3.9", "3.10", "3.11"]
131+
ansible-version: [stable-2.13, stable-2.14, stable-2.15]
132+
133+
steps:
134+
# Important: This sets up your GITHUB_WORKSPACE environment variable
135+
- name: Checkout the source code
136+
uses: actions/checkout@v3
137+
with:
138+
fetch-depth: 0 # needed for progressive mode to work
139+
140+
- name: Set up Python ${{ matrix.python-version }}
141+
uses: actions/setup-python@v1
142+
with:
143+
python-version: ${{ matrix.python-version }}
144+
145+
- name: Install ansible (${{ matrix.ansible-version }}) version
146+
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible-version }}.tar.gz --disable-pip-version-check
147+
148+
- name: Install ansible lint
149+
run: pip install ansible-lint --disable-pip-version-check
150+
151+
- name: Download migrated collection artifacts
152+
uses: actions/download-artifact@v1
153+
with:
154+
name: collection
155+
path: .cache/collection-tarballs
156+
157+
- name: Install collection build
158+
run: ansible-galaxy collection install .cache/collection-tarballs/*.tar.gz
159+
160+
- name: Run Ansible lint
161+
run: ansible-lint --show-relpath
162+
working-directory: /home/runner/work/ansible-unity/ansible-unity

CHANGELOG.rst

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,30 @@ Dellemc.Unity Change Log
55
.. contents:: Topics
66

77

8+
v1.7.0
9+
======
10+
11+
Minor Changes
12+
-------------
13+
14+
- Added replication session module to get details, pause, resume, sync, failover, failback and delete replication sessions.
15+
- Added support for Unity XT SeaHawk 5.3
16+
- Documentation updates for boolean values based on ansible community guidelines.
17+
18+
New Modules
19+
-----------
20+
21+
- dellemc.unity.replication_session - Manage replication session on the Unity storage system
22+
823
v1.6.0
924
======
1025

1126
Minor Changes
1227
-------------
1328

29+
- Add synchronous replication support for filesystem.
1430
- Support addition of host from the Host List to NFS Export in nfs module.
1531
- Support enable/disable advanced dedup in volume module.
16-
- Add synchronous replication support for filesystem.
1732

1833
v1.5.0
1934
======

README.md

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,70 +2,71 @@
22

33
The Ansible Modules for Dell Technologies (Dell) Unity allow Data Center and IT administrators to use RedHat Ansible to automate and orchestrate the configuration and management of Dell Unity arrays.
44

5-
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.
5+
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, replication sessions 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
## Table of contents
88

9-
* [Code of conduct](https://github.com/dell/ansible-unity/blob/1.6.0/docs/CODE_OF_CONDUCT.md)
10-
* [Maintainer guide](https://github.com/dell/ansible-unity/blob/1.6.0/docs/MAINTAINER_GUIDE.md)
11-
* [Committer guide](https://github.com/dell/ansible-unity/blob/1.6.0/docs/COMMITTER_GUIDE.md)
12-
* [Contributing guide](https://github.com/dell/ansible-unity/blob/1.6.0/docs/CONTRIBUTING.md)
13-
* [Branching strategy](https://github.com/dell/ansible-unity/blob/1.6.0/docs/BRANCHING.md)
14-
* [List of adopters](https://github.com/dell/ansible-unity/blob/1.6.0/docs/ADOPTERS.md)
15-
* [Maintainers](https://github.com/dell/ansible-unity/blob/1.6.0/docs/MAINTAINERS.md)
16-
* [Support](https://github.com/dell/ansible-unity/blob/1.6.0/docs/SUPPORT.md)
9+
* [Code of conduct](https://github.com/dell/ansible-unity/blob/1.7.0/docs/CODE_OF_CONDUCT.md)
10+
* [Maintainer guide](https://github.com/dell/ansible-unity/blob/1.7.0/docs/MAINTAINER_GUIDE.md)
11+
* [Committer guide](https://github.com/dell/ansible-unity/blob/1.7.0/docs/COMMITTER_GUIDE.md)
12+
* [Contributing guide](https://github.com/dell/ansible-unity/blob/1.7.0/docs/CONTRIBUTING.md)
13+
* [Branching strategy](https://github.com/dell/ansible-unity/blob/1.7.0/docs/BRANCHING.md)
14+
* [List of adopters](https://github.com/dell/ansible-unity/blob/1.7.0/docs/ADOPTERS.md)
15+
* [Maintainers](https://github.com/dell/ansible-unity/blob/1.7.0/docs/MAINTAINERS.md)
16+
* [Support](https://github.com/dell/ansible-unity/blob/1.7.0/docs/SUPPORT.md)
1717
* [License](#license)
18-
* [Security](https://github.com/dell/ansible-unity/blob/1.6.0/docs/SECURITY.md)
18+
* [Security](https://github.com/dell/ansible-unity/blob/1.7.0/docs/SECURITY.md)
1919
* [Prerequisites](#prerequisites)
2020
* [List of Ansible modules for Dell Unity](#list-of-ansible-modules-for-dell-unity)
2121
* [Installation and execution of Ansible modules for Dell Unity](#installation-and-execution-of-ansible-modules-for-dell-unity)
2222
* [Releasing, Maintenance and Deprecation](#releasing-maintenance-and-deprecation)
2323

2424
## License
25-
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.6.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.6.0/MODULE-LICENSE) for the full terms.
25+
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.7.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.7.0/MODULE-LICENSE) for the full terms.
2626

2727
## Supported Platforms
28-
* Dell Unity Arrays version 5.1, 5.2
28+
* Dell Unity Arrays version 5.1, 5.2, 5.3
2929

3030
## Prerequisites
3131
This table provides information about the software prerequisites for the Ansible Modules for Dell Unity.
3232

3333
| **Ansible Modules** | **Python version** | **Storops - Python SDK version** | **Ansible** |
3434
|---------------------|--------------------|----------------------------------|-------------|
35-
| v1.6.0 | 3.9 <br> 3.10 <br> 3.11 | 1.2.11 | 2.12 <br> 2.13 <br> 2.14|
35+
| v1.7.0 | 3.9 <br> 3.10 <br> 3.11 | 1.2.11 | 2.13 <br> 2.14 <br> 2.15|
3636

3737
## Idempotency
3838
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.
3939

4040
## List of Ansible Modules for Dell Unity
41-
* [Consistency group module](https://github.com/dell/ansible-unity/blob/1.6.0/docs/modules/consistencygroup.rst)
42-
* [Filesystem module](https://github.com/dell/ansible-unity/blob/1.6.0/docs/modules/filesystem.rst)
43-
* [Filesystem snapshot module](https://github.com/dell/ansible-unity/blob/1.6.0/docs/modules/filesystem_snapshot.rst)
44-
* [Info module](https://github.com/dell/ansible-unity/blob/1.6.0/docs/modules/info.rst)
45-
* [Host module](https://github.com/dell/ansible-unity/blob/1.6.0/docs/modules/host.rst)
46-
* [CIFS server module](https://github.com/dell/ansible-unity/blob/1.6.0/docs/modules/cifsserver.rst)
47-
* [NAS server module](https://github.com/dell/ansible-unity/blob/1.6.0/docs/modules/nasserver.rst)
48-
* [NFS server module](https://github.com/dell/ansible-unity/blob/1.6.0/docs/modules/nfsserver.rst)
49-
* [NFS export module](https://github.com/dell/ansible-unity/blob/1.6.0/docs/modules/nfs.rst)
50-
* [SMB share module](https://github.com/dell/ansible-unity/blob/1.6.0/docs/modules/smbshare.rst)
51-
* [Interface module](https://github.com/dell/ansible-unity/blob/1.6.0/docs/modules/interface.rst)
52-
* [Snapshot module](https://github.com/dell/ansible-unity/blob/1.6.0/docs/modules/snapshot.rst)
53-
* [Snapshot schedule module](https://github.com/dell/ansible-unity/blob/1.6.0/docs/modules/snapshotschedule.rst)
54-
* [Storage pool module](https://github.com/dell/ansible-unity/blob/1.6.0/docs/modules/storagepool.rst)
55-
* [User quota module](https://github.com/dell/ansible-unity/blob/1.6.0/docs/modules/user_quota.rste)
56-
* [Quota tree module ](https://github.com/dell/ansible-unity/blob/1.6.0/docs/modules/tree_quota.rst)
57-
* [Volume module](https://github.com/dell/ansible-unity/blob/1.6.0/docs/modules/volume.rst)
41+
* [Consistency group module](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/consistencygroup.rst)
42+
* [Filesystem module](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/filesystem.rst)
43+
* [Filesystem snapshot module](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/filesystem_snapshot.rst)
44+
* [Info module](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/info.rst)
45+
* [Host module](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/host.rst)
46+
* [CIFS server module](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/cifsserver.rst)
47+
* [NAS server module](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/nasserver.rst)
48+
* [NFS server module](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/nfsserver.rst)
49+
* [NFS export module](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/nfs.rst)
50+
* [SMB share module](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/smbshare.rst)
51+
* [Interface module](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/interface.rst)
52+
* [Snapshot module](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/snapshot.rst)
53+
* [Snapshot schedule module](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/snapshotschedule.rst)
54+
* [Storage pool module](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/storagepool.rst)
55+
* [User quota module](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/user_quota.rste)
56+
* [Quota tree module ](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/tree_quota.rst)
57+
* [Volume module](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/volume.rst)
58+
* [Replication session module](https://github.com/dell/ansible-unity/blob/1.7.0/docs/modules/replication_session.rst)
5859

5960
## Installation and execution of Ansible modules for Dell Unity
6061

61-
The installation and execution steps of Ansible modules for Dell Unity can be found [here](https://github.com/dell/ansible-unity/blob/1.6.0/docs/INSTALLATION.md).
62+
The installation and execution steps of Ansible modules for Dell Unity can be found [here](https://github.com/dell/ansible-unity/blob/1.7.0/docs/INSTALLATION.md).
6263

6364
## Releasing, Maintenance and Deprecation
6465

6566
Ansible Modules for Dell Technnologies Unity follows [Semantic Versioning](https://semver.org/).
6667

6768
New version will be release regularly if significant changes (bug fix or new feature) are made in the collection.
6869

69-
Released code versions are located on "release" branches with names of the form "release-x.y.z" where x.y.z corresponds to the version number. More information on branching strategy followed can be found [here](https://github.com/dell/ansible-unity/blob/1.6.0/docs/BRANCHING.md).
70+
Released code versions are located on "release" branches with names of the form "release-x.y.z" where x.y.z corresponds to the version number. More information on branching strategy followed can be found [here](https://github.com/dell/ansible-unity/blob/1.7.0/docs/BRANCHING.md).
7071

7172
Ansible Modules for Dell Technologies Unity deprecation cycle is aligned with that of [Ansible](https://docs.ansible.com/ansible/latest/dev_guide/module_lifecycle.html).

changelogs/.plugin-cache.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ plugins:
66
callback: {}
77
cliconf: {}
88
connection: {}
9+
filter: {}
910
httpapi: {}
1011
inventory: {}
1112
lookup: {}
@@ -60,6 +61,11 @@ plugins:
6061
name: nfsserver
6162
namespace: ''
6263
version_added: 1.4.0
64+
replication_session:
65+
description: Manage replication session on Unity storage system
66+
name: replication_session
67+
namespace: ''
68+
version_added: 1.7.0
6369
smbshare:
6470
description: Manage SMB shares on Unity storage system
6571
name: smbshare
@@ -98,5 +104,6 @@ plugins:
98104
netconf: {}
99105
shell: {}
100106
strategy: {}
107+
test: {}
101108
vars: {}
102-
version: 1.6.0
109+
version: 1.7.0

changelogs/changelog.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,19 @@ releases:
153153
1.6.0:
154154
changes:
155155
minor_changes:
156+
- Add synchronous replication support for filesystem.
156157
- Support addition of host from the Host List to NFS Export in nfs module.
157158
- Support enable/disable advanced dedup in volume module.
158-
- Add synchronous replication support for filesystem.
159159
release_date: '2023-03-31'
160+
1.7.0:
161+
changes:
162+
minor_changes:
163+
- Added replication session module to get details, pause, resume, sync, failover,
164+
failback and delete replication sessions.
165+
- Added support for Unity XT SeaHawk 5.3
166+
- Documentation updates for boolean values based on ansible community guidelines.
167+
modules:
168+
- description: Manage replication session on the Unity storage system
169+
name: replication_session
170+
namespace: ''
171+
release_date: '2023-06-30'

docs/CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You may obtain a copy of the License at
1010

1111
# How to contribute
1212

13-
Become one of the contributors to this project! We thrive to build a welcoming and open community for anyone who wants to use the project or contribute to it. There are just a few small guidelines you need to follow. To help us create a safe and positive community experience for all, we require all participants to adhere to the [Code of Conduct](https://github.com/dell/ansible-unity/blob/1.6.0/docs/CODE_OF_CONDUCT.md).
13+
Become one of the contributors to this project! We thrive to build a welcoming and open community for anyone who wants to use the project or contribute to it. There are just a few small guidelines you need to follow. To help us create a safe and positive community experience for all, we require all participants to adhere to the [Code of Conduct](https://github.com/dell/ansible-unity/blob/1.7.0/docs/CODE_OF_CONDUCT.md).
1414

1515
## Table of contents
1616

@@ -76,7 +76,7 @@ Triage helps ensure that issues resolve quickly by:
7676

7777
If you don't have the knowledge or time to code, consider helping with _issue triage_. The Ansible modules for Dell Unity community will thank you for saving them time by spending some of yours.
7878

79-
Read more about the ways you can [Triage issues](https://github.com/dell/ansible-unity/blob/1.6.0/docs/ISSUE_TRIAGE.md).
79+
Read more about the ways you can [Triage issues](https://github.com/dell/ansible-unity/blob/1.7.0/docs/ISSUE_TRIAGE.md).
8080

8181
## Your first contribution
8282

@@ -89,7 +89,7 @@ When you're ready to contribute, it's time to create a pull request.
8989

9090
## Branching
9191

92-
* [Branching Strategy for Ansible modules for Dell Unity](https://github.com/dell/ansible-unity/blob/1.6.0/docs/BRANCHING.md)
92+
* [Branching Strategy for Ansible modules for Dell Unity](https://github.com/dell/ansible-unity/blob/1.7.0/docs/BRANCHING.md)
9393

9494
## Signing your commits
9595

@@ -144,7 +144,7 @@ Make sure that the title for your pull request uses the same format as the subje
144144

145145
### Quality gates for pull requests
146146

147-
GitHub Actions are used to enforce quality gates when a pull request is created or when any commit is made to the pull request. These GitHub Actions enforce our minimum code quality requirement for any code that get checked into the repository. If any of the quality gates fail, it is expected that the contributor will look into the check log, understand the problem and resolve the issue. If help is needed, please feel free to reach out the maintainers of the project for [support](https://github.com/dell/ansible-unity/blob/1.6.0/docs/SUPPORT.md).
147+
GitHub Actions are used to enforce quality gates when a pull request is created or when any commit is made to the pull request. These GitHub Actions enforce our minimum code quality requirement for any code that get checked into the repository. If any of the quality gates fail, it is expected that the contributor will look into the check log, understand the problem and resolve the issue. If help is needed, please feel free to reach out the maintainers of the project for [support](https://github.com/dell/ansible-unity/blob/1.7.0/docs/SUPPORT.md).
148148

149149
#### Code sanitization
150150

docs/INSTALLATION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ You may obtain a copy of the License at
3535

3636
* 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 this command to install the collection anywhere in your system:
3737

38-
ansible-galaxy collection install dellemc-unity-1.6.0.tar.gz -p <install_path>
38+
ansible-galaxy collection install dellemc-unity-1.7.0.tar.gz -p <install_path>
3939

4040
* Set the environment variable:
4141

@@ -62,7 +62,7 @@ You may obtain a copy of the License at
6262

6363
## Ansible modules execution
6464

65-
The Ansible server must be configured with Python library for Unity to run the Ansible playbooks. The [Documents](https://github.com/dell/ansible-unity/blob/1.6.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 needs to be configured before running the modules.
65+
The Ansible server must be configured with Python library for Unity to run the Ansible playbooks. The [Documents](https://github.com/dell/ansible-unity/blob/1.7.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 needs to be configured before running the modules.
6666

6767
## SSL certificate validation
6868

docs/ISSUE_TRIAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Should explain what happened, what was expected and how to reproduce it together
4343

4444
- Ansible Version: [e.g. 2.14]
4545
- Python Version [e.g. 3.10]
46-
- Ansible modules for Dell Unity Version: [e.g. 1.6.0]
46+
- Ansible modules for Dell Unity Version: [e.g. 1.7.0]
4747
- Unity SDK version: [e.g. Unity 1.2.11]
4848
- Any other additional information...
4949

0 commit comments

Comments
 (0)