Module - pacemaker¶
This module provides for the following ansible plugin:
pacemaker
Module Documentation¶
Return status from a pacemaker status XML
Options¶
- status
pacemaker status XML
Authors¶
Tomas Sedovic
Example Tasks¶
- hosts: webservers
tasks:
- become: true
command: pcs status xml
name: Get pacemaker status
register: pcs_status
- name: Check pacemaker status
pacemaker: status="{{ pcs_status.stdout }}"