generated from ansible-collections/collection_template
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 4Q24 Feature changes and fixes * minor linting fixes * Minor bug fixes, and playbooks * Minor linting issues
- Loading branch information
1 parent
4b84e5e
commit 3cb671c
Showing
118 changed files
with
7,013 additions
and
1,945 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# CHANGE THIS | ||
fixes: | ||
- "/ansible_collections/NAMESPACE/COLLECTION/::" | ||
- "/ansible_collections/NAMESPACE/COLLECTION/::" | ||
ignore: | ||
- "**/test_*.py" | ||
- "**/playbooks" | ||
- "**/playbooks" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
requires_ansible: '>=2.15.0' | ||
requires_ansible: '>=2.16.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,56 @@ | ||
- name: create mdiskgrp | ||
ibm_svc_mdiskgrp: | ||
clustername: "{{item.cluster_ip}}" | ||
username: "{{item.cluster_username}}" | ||
password: "{{item.cluster_password}}" | ||
- name: Create mdiskgrp | ||
ibm.storage_virtualize.ibm_svc_mdiskgrp: | ||
clustername: '{{ item.cluster_ip }}' | ||
username: '{{ item.cluster_username }}' | ||
password: '{{ item.cluster_password }}' | ||
log_path: "{{ log_path | default('/tmp/ansiblePB.debug') }}" | ||
name: "{{pool_name}}" | ||
name: "{{ pool_name }}" | ||
state: present | ||
datareduction: yes | ||
datareduction: 'yes' | ||
ext: 1024 | ||
|
||
- name: Get drive info | ||
register: results | ||
ibm_svc_info: | ||
clustername: "{{item.cluster_ip}}" | ||
username: "{{item.cluster_username}}" | ||
password: "{{item.cluster_password}}" | ||
log_path: "{{log_path | default('/tmp/ansiblePB.debug')}}" | ||
ibm.storage_virtualize.ibm_svc_info: | ||
clustername: "{{ item.cluster_ip }}" | ||
username: "{{ item.cluster_username }}" | ||
password: "{{ item.cluster_password }}" | ||
log_path: "{{ log_path | default('/tmp/ansiblePB.debug') }}" | ||
gather_subset: "drive" | ||
|
||
- name: Make drive in candidate state | ||
ibm_sv_manage_drive: | ||
clustername: "{{item.cluster_ip}}" | ||
username: "{{item.cluster_username}}" | ||
password: "{{item.cluster_password}}" | ||
log_path: "{{log_path | default('/tmp/ansiblePB.debug')}}" | ||
ibm.storage_virtualize.ibm_sv_manage_drive: | ||
clustername: "{{ item.cluster_ip }}" | ||
username: "{{ item.cluster_username }}" | ||
password: "{{ item.cluster_password }}" | ||
log_path: "{{ log_path | default('/tmp/ansiblePB.debug') }}" | ||
drive_state: candidate | ||
drive_id: "{{ Drive.id }}" | ||
loop: "{{ results.Drive }}" | ||
loop_control: | ||
loop_var: Drive | ||
ignore_errors: true | ||
loop_var: Drive | ||
when: Drive.use != "member" | ||
|
||
- name: create distributed array | ||
ibm_svc_mdisk: | ||
clustername: "{{item.cluster_ip}}" | ||
username: "{{item.cluster_username}}" | ||
password: "{{item.cluster_password}}" | ||
log_path: "{{log_path | default('/tmp/ansiblePB.debug')}}" | ||
name: "{{mdisk_name}}" | ||
- name: Create distributed array | ||
ibm.storage_virtualize.ibm_svc_mdisk: | ||
clustername: "{{ item.cluster_ip }}" | ||
username: "{{ item.cluster_username }}" | ||
password: "{{ item.cluster_password }}" | ||
log_path: "{{ log_path | default('/tmp/ansiblePB.debug') }}" | ||
name: "{{ mdisk_name }}" | ||
state: "present" | ||
level: "{{level}}" | ||
drivecount: "{{drivecount}}" | ||
driveclass: 0 | ||
encrypt: no | ||
mdiskgrp: "{{pool_name}}" | ||
level: "{{ level }}" | ||
drivecount: "{{ drivecount }}" | ||
driveclass: 0 | ||
encrypt: 'no' | ||
mdiskgrp: "{{ pool_name }}" | ||
|
||
- name: Create provisioning policy | ||
ibm_sv_manage_provisioning_policy: | ||
clustername: "{{item.cluster_ip}}" | ||
username: "{{item.cluster_username}}" | ||
password: "{{item.cluster_password}}" | ||
log_path: "{{log_path | default('/tmp/ansiblePB.debug')}}" | ||
name: "{{provisioning_policy_name | default('provisioning_policy0')}}" | ||
ibm.storage_virtualize.ibm_sv_manage_provisioning_policy: | ||
clustername: "{{ item.cluster_ip }}" | ||
username: "{{ item.cluster_username }}" | ||
password: "{{ item.cluster_password }}" | ||
log_path: "{{ log_path | default('/tmp/ansiblePB.debug') }}" | ||
name: "{{ provisioning_policy_name | default('provisioning_policy0') }}" | ||
capacitysaving: "drivebased" | ||
state: "present" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.