New in version 2.3.
Force the change of the cluster state
Specify which node of the cluster you want to manage. None == the cluster status itself, 'all' == check the status of all nodes.
Indicate desired state of the cluster
Timeout when the module should considered that the action has failed
--- - name: Set cluster Online hosts: localhost gather_facts: no tasks: - name: get cluster state pacemaker_cluster: state=online
Common return values are documented here Return Values, the following are the fields unique to this module:
|out||The output of the current state of the cluster. It return a list of the nodes state.||string||out: [[" overcloud-controller-0", " Online"]]}|
|change||True if the cluster state has changed||bool|
|rc||exit code of the module||bool|
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is community maintained without core committer oversight.
For more information on what this means please read Module Support