Skip to content

Commit

Permalink
Refactor Stonith SBD configuration in 1.17 Generic Pacemaker role (#565)
Browse files Browse the repository at this point in the history
* Refactor Stonith SBD configuration in 1.17 Generic Pacemaker role

* Update version to 3.11.0.1
  • Loading branch information
hdamecharla authored Mar 14, 2024
1 parent ab30983 commit ce9cb25
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,22 @@

- name: "1.17 Generic Pacemaker - Stonith SBD is already configured in cluster"
when: stonith_sbd_configured.rc == 0
ansible.builtin.debug:
msg: "Stonith Status: {{ stonith_sbd_configured.stdout }}"
block:
- name: "1.17 Generic Pacemaker - Debug show Stonith SBD"
ansible.builtin.debug:
msg: "Stonith SBD is already configured in cluster"

- name: "1.17 Generic Pacemaker - Stop Stonith SBD"
ansible.builtin.shell: crm resource stop stonith-sbd

- name: "1.17 Generic Pacemaker - Delete Stonith SBD"
ansible.builtin.shell: crm configure delete stonith-sbd

- name: "1.17 Generic Pacemaker - Recreate Stonith SBD in cluster"
ansible.builtin.shell: >-
crm configure primitive stonith-sbd stonith:external/sbd \
params pcmk_delay_max="15" \
op monitor interval="600" timeout="15"
- name: "1.17 Generic Pacemaker - Ensure Stonith SBD is configured in cluster"
when: stonith_sbd_configured.rc != 0
Expand Down
2 changes: 1 addition & 1 deletion deploy/configs/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.11.0.0
3.11.0.1
2 changes: 1 addition & 1 deletion deploy/scripts/New-SDAFDevopsProject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ $Workload_zoneSubscriptionName = $Env:SDAF_WorkloadZoneSubscriptionName
if ($IsWindows) { $pathSeparator = "\" } else { $pathSeparator = "/" }
#endregion

$versionLabel = "v3.11.0.0"
$versionLabel = "v3.11.0.1"

az logout

Expand Down

0 comments on commit ce9cb25

Please sign in to comment.