Undercloud no longer has crudini

The Undercloud node in a OOO deployment no longer ships with crudini
installed. This is to account for that.

Eventually we should move away from crudini and use the builtin module
from ansible.

Change-Id: I8188638b089f1fadf878350cbe43c0e6426b7d89
This commit is contained in:
Joe 2016-08-22 17:49:36 -04:00
parent b5c0950aae
commit 5da713cc01

View File

@ -2,6 +2,15 @@
#
# Tests common to Director/Controller/Compute/Ceph
#
- name: Ensure crudini
shell: which crudini
changed_when: no
register: crudini
ignore_errors: True
- name: Install Crudini if it is not there
yum: name=crudini state=latest
when: crudini.rc == 1
- name: Get selinux mode
command: getenforce