generated from linux-system-roles/template
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for templates, fix bugs in templates
Add error message when running against RHEL < 8 configure_ag ha incorrect tasks order and didn't concider ag name sometimes Remove WRITE_LEASE_VALIDITY it's not working requires MS troubleshoot Need to test restore_cert.j2
- Loading branch information
Showing
15 changed files
with
890 additions
and
81 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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
- name: Purge cluster and mssql configuration | ||
hosts: all | ||
tasks: | ||
- name: Purge cluster configuration | ||
vars: | ||
ha_cluster_cluster_present: no | ||
ha_cluster_enable_repos: false | ||
include_role: | ||
name: fedora.linux_system_roles.ha_cluster | ||
|
||
- name: Remove cluster RPMs | ||
package: | ||
name: | ||
- pacemaker | ||
- pcs | ||
- fence-agents-all | ||
- resource-agents | ||
state: absent | ||
|
||
- name: Remove mssql RPMs | ||
shell: dnf remove mssql-* -y | ||
changed_when: true | ||
|
||
- name: Remove related files | ||
shell: rm -rf /var/opt/mssql/ /opt/mssql* /tmp/ansible.* | ||
changed_when: true |
Oops, something went wrong.