Handle RQLite idempotency.
This commit is contained in:
parent
6d2b9d8871
commit
1bd3d89113
@ -6,8 +6,14 @@
|
|||||||
name: make
|
name: make
|
||||||
state: present
|
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.
|
- name: Get RQLite installed into project directory.
|
||||||
make:
|
make:
|
||||||
chdir: /var/xppl
|
chdir: /var/xppl
|
||||||
target: install-rqlite
|
target: install-rqlite
|
||||||
creates: /var/xppl/rqlite
|
creates: /var/xppl/rqlite
|
||||||
|
when: not rqlite_install_directory.stat.exists
|
||||||
|
Loading…
Reference in New Issue
Block a user