Fix the pacemaker-status validation

Running `pcs status` needs root.

Closes-Bug: #1637269
Change-Id: If3d1496a362cb9b626c89dbff0af0a8b55ed1643
This commit is contained in:
Tomas Sedovic 2016-10-27 19:16:41 +02:00
parent 40aaac9026
commit 44fe6a7772
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@
- post-deployment
tasks:
- name: Get pacemaker status
become: true
command: pcs status xml
register: pcs_status
- name: Check pacemaker status