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