This module provides for the following ansible plugin:
pacemaker
Return status from a pacemaker status XML
pacemaker status XML
Tomas Sedovic
- 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 }}"
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.