xppl/ansible/roles/rqlite/tasks/main.yml

20 lines
415 B
YAML

---
- name: Ensure the Make package is installed.
become: true
yum:
name: make
state: present
- name: Check if RQLite is already installed.
stat:
path: /var/xppl/rqlite
register: rqlite_install_directory
- name: Get RQLite installed into project directory.
make:
chdir: /var/xppl
target: install-rqlite
creates: /var/xppl/rqlite
when: not rqlite_install_directory.stat.exists