ondrejhome / ondrejhome.ha_cluster / 1.0.2 / module / pcs_quorum_qdevice wrapper module for 'pcs quorum setup/destroy/change qdevice setting' | "added in version" 2.10 of ondrejhome.ha_cluster" Authors: Olivier Pouilly (@OliPou) preview | supported by communityondrejhome.ha_cluster.pcs_quorum_qdevice (1.0.2) — module
Install with ansible-galaxy collection install ondrejhome.ha_cluster:==1.0.2
collections: - name: ondrejhome.ha_cluster version: 1.0.2
module for setup/destroy/change qdevice setting 'pcs' utility
- name: Setup qdevice with default algorithm (ffsplit) pcs_quorum_qdevice: qdevice: qdevice-name run_once: True
- name: Setup qdevice with lms algorithm pcs_quorum_qdevice: qdevice: qdevice-name algorithm: lms run_once: True
- name: Delete qdevice pcs_quorum_qdevice: state: absent run_once: True
- name: Setup or modify qdevice to use lms algorith pcs_quorum_qdevice: qdevice: qdevice-name algorithm: lms allowed_qdevice_changes: update run_once: True
state: choices: - present - absent default: present description: - '''present'' - ensure that the qdevice exists' - '''absent'' - ensure qdevice doesn''t exist' required: false type: str qdevice: description: - qdevice name (hostname or IP address) required: false type: str algorithm: choices: - ffsplit - lms default: ffsplit description: - algorithm use by the cluster required: false type: str allowed_qdevice_changes: choices: - none - update default: none description: - '''none'' - existing qdevice and algorithm must match' - '''update'' - allow qdevice and/or algorithm update' required: false type: str