2018-11-30 22:45:13 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Ensure the Make package is installed.
|
|
|
|
become: true
|
|
|
|
yum:
|
|
|
|
name: make
|
|
|
|
state: present
|
|
|
|
|
2018-11-30 22:59:16 +01:00
|
|
|
- name: Check if RQLite is already installed.
|
|
|
|
stat:
|
|
|
|
path: /var/xppl/rqlite
|
|
|
|
register: rqlite_install_directory
|
|
|
|
|
2018-11-30 22:45:13 +01:00
|
|
|
- name: Get RQLite installed into project directory.
|
|
|
|
make:
|
|
|
|
chdir: /var/xppl
|
|
|
|
target: install-rqlite
|
|
|
|
creates: /var/xppl/rqlite
|
2018-11-30 22:59:16 +01:00
|
|
|
when: not rqlite_install_directory.stat.exists
|