Releases: linux-system-roles/ha_cluster
fix default pcsd permissions
fix default pcsd permissions
Previously, permissions were set for 'hacluster' group.
Correct name of the group is 'haclient'.
Add support for resource constraints - remove recursive symlink in tests/roles
update tox-lsr version to 2.8.0 (#32)
update tox-lsr version to 2.8.0
New version adds check for proper commenting of the ansible_managed var
Signed-off-by: Sergei Petrosian [email protected]
add constraint configuration
add doubledash to pcs commands
fixes for various pcs versions
tests verbosity has been increased so that it is easier to see
differences between expected and real output
fix loop_var
move score from constraint to constraint options
translate new role values to old ones in constraints
remove unused 'pcs-0.10' suffix
add Fedora tmp files to .gitignore
minor fixes
add documentation and examples
replace if-else with ternary to simplify code
add 'changed_when: no' to command tasks in tests
replace eq with match to support jinja 2.7
work around installing openssl in tests
change recursive role symlink to individual role dir symlinks
Signed-off-by: Rich Megginson [email protected]
bump tox-lsr version to 2.8.3 (#35)
Signed-off-by: Rich Megginson [email protected]
test with ansible 2.12; fix linter issues
fix ansible-lint issues
support python 39, ansible-core 2.12, ansible-plugin-scan
update tox-lsr version to 2.7.1
update the tox-lsr version used in github actions tox CI
to 2.7.1
The only difference between this an 2.7.0 is that Ansible 2.12
is now GA.
Signed-off-by: Rich Megginson [email protected]
Suppor ansible-core; fix password_hash salt length
use tox-lsr version 2.5.1
This version removes support for molecule until we can figure out
what to do about molecule. This should make all of the tox tests
pass (except for python 2.6).
Signed-off-by: Rich Megginson [email protected]
fix password_hash salt length
Ansible 2.11 has strict checking for password_hash salt length.
If the given salt length is not equal to, or greater than, the
salt length for the hash algorithm (depending on the algorithm, the
salt length must be equal, or less than), Ansible will emit an
error like "invalid salt size". To fix this, use the truncate
filter to ensure the salt length is not too long.
Use the openssl command-line interface instead of the openssl module
in the test helper task tests/tasks/fixture_psks.yml.
This is to avoid using the non ansible-core module.
use apt-get install -y
Signed-off-by: Rich Megginson [email protected]
replace rhsm_repository with subscription-manager cli
The rhsm_repository
module is not supported by ansible-core, so
use the subscription-manager cli instead.
use firewall-cmd instead of firewalld module
drop support for ansible 2.8
Drop support for Ansible 2.8 by bumping the Ansible version to 2.9
min_ansible_version is now 2.9
Bug 1989197 - drop support for Ansible 2.8
https://bugzilla.redhat.com/show_bug.cgi?id=1989197
add pacemaker cluster properties configuration
add pacemaker cluster properties configuration
Add support for ha_cluster_cluster_properties
which is used
to set cluster-wide configuration.
See the README for details and examples.
do not fail if openssl is not installed
OpenSSL is used in the role and automated tests to generate random
preshared keys. Previously, OpenSSL was a dependency of pcs. That is no
longer the case since pcs-0.10.8-2.
In the role, keys are no longer generated on the controller, so the role
does not install OpenSSL there. Instead, preshared keys are now
generated on target nodes and the role newly ensures OpenSSL is installed on
target nodes.
In tests, OpenSSL is needed on the controller to test cases when
preshared keys are distributed from the controller. Tests ensure OpenSSL
is installed on the controller.
Code cleanup
Fix several yaml style issues
improve documentation
add pacemaker resources configuration
Add support for configuring pacemaker resources
Support for EL 9 managed hosts
Initial release
Initial release of ha_cluster role