mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-29 06:01:21 +00:00
Added binary upgrade option
This commit is contained in:
parent
f38703a9f4
commit
b715d3caf7
@ -30,5 +30,5 @@
|
|||||||
|
|
||||||
- name: Install package on CentOS/RedHat
|
- name: Install package on CentOS/RedHat
|
||||||
when: ansible_os_family == "RedHat"
|
when: ansible_os_family == "RedHat"
|
||||||
yum: "pkg={{service}} update_cache=yes"
|
yum: "pkg={{service}} update_cache=yes state=latest"
|
||||||
|
|
||||||
|
@ -18,5 +18,5 @@
|
|||||||
|
|
||||||
- name: Install package on Debian/Ubuntu
|
- name: Install package on Debian/Ubuntu
|
||||||
when: ansible_os_family == "Debian"
|
when: ansible_os_family == "Debian"
|
||||||
apt: "pkg={{service}}"
|
apt: "pkg={{service}} update_cache=yes state=latest"
|
||||||
|
|
||||||
|
10
ansible/upgrade.yml
Normal file
10
ansible/upgrade.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
#variable "service" is required
|
||||||
|
|
||||||
|
- hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}"
|
||||||
|
roles:
|
||||||
|
- stop
|
||||||
|
- install
|
||||||
|
- start
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user