diff --git a/README.md b/README.md index cd5a810..b565c0e 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ This role depend on role [ondrejhome.pcs-modules-2](https://github.com/OndrejHom **Debian Buster** Tested with version 20210310 with ansible version **2.10** and **Debian Bullseye** Tested with version 20220326 with ansible version **2.12**. Debian part of this role does not include the stonith configuration and the firewall configuration. **Note:** This role went only through limited testing on Debian - not all features of this role were tested. +**Debian Bookworm** Tested with ansible version **2.14** and **Debian Bookwork**. Debian part of this role does not include the stonith configuration and the firewall configuration. **Note:** This role went only through limited testing on Debian - not all features of this role were tested. + Ansible version **2.9.10** and **2.9.11** will fail with error `"'hostvars' is undefined"` when trying to configure remote nodes. This applies only when there is at least one node with `cluster_node_is_remote=True`. **Avoid these Ansible versions** if you plan to configure remote nodes with this role. On **CentOS Linux 8** you have to ensure that BaseOS and Appstream repositories are working properly. As the CentOS Linux 8 is in the End-Of-Life phase, this role will configure HA repository to point to vault.centos.org if repository configuration (`enable_repos: true`) is requested (it is by default). diff --git a/meta/main.yml b/meta/main.yml index e20dcac..934e10b 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -25,6 +25,7 @@ galaxy_info: versions: - 'buster' - 'bullseye' + - 'bookworm' galaxy_tags: - clustering - pacemaker diff --git a/tasks/install_normal.yml b/tasks/install_normal.yml index 54250ef..0c321de 100644 --- a/tasks/install_normal.yml +++ b/tasks/install_normal.yml @@ -19,7 +19,7 @@ packages_for_installation: "{{ packages_for_installation + ['python3-distutils'] }}" when: - ansible_distribution == 'Debian' - - ansible_distribution_major_version in ['10','11'] + - ansible_distribution_major_version in ['10','11','12'] - name: "Packages: Add firewall packages" set_fact: diff --git a/vars/debian12.yml b/vars/debian12.yml new file mode 100644 index 0000000..94ae21b --- /dev/null +++ b/vars/debian12.yml @@ -0,0 +1,15 @@ +--- +pacemaker_packages: + - pcs + - pacemaker +pacemaker_remote_packages: + - pcs + - pacemaker-remote +fence_kdump_packages: + - kdump-tools + +kdump_service_name: 'kdump-tools' +cluster_configure_fence_xvm: false +cluster_firewall: false + +pcsd_configuration_file: /etc/default/pcsd