|
@ -1,19 +1,19 @@ |
|
|
--- |
|
|
--- |
|
|
|
|
|
|
|
|
#Three commands to install a service on CentOS/RedHat |
|
|
#Three commands to install a service on CentOS/RedHat |
|
|
#wget -O - https://do9rmxapsag1v.cloudfront.net/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint | rpm --import - |
|
|
|
|
|
#wget -O /etc/yum.repos.d/tendermint.repo https://do9rmxapsag1v.cloudfront.net/centos/7/os/x86_64/tendermint.repo |
|
|
|
|
|
|
|
|
#wget -O - https://tendermint-packages.interblock.io/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint | rpm --import - |
|
|
|
|
|
#wget -O /etc/yum.repos.d/tendermint.repo https://tendermint-packages.interblock.io/centos/7/os/x86_64/tendermint.repo |
|
|
#yum update && yum install basecoin |
|
|
#yum update && yum install basecoin |
|
|
|
|
|
|
|
|
#This has a bug in Ansible 2.3: https://github.com/ansible/ansible/issues/20711 |
|
|
#This has a bug in Ansible 2.3: https://github.com/ansible/ansible/issues/20711 |
|
|
#- name: Add repository key on CentOS/RedHat |
|
|
#- name: Add repository key on CentOS/RedHat |
|
|
# when: ansible_os_family == "RedHat" |
|
|
# when: ansible_os_family == "RedHat" |
|
|
# rpm_key: key=https://do9rmxapsag1v.cloudfront.net/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint |
|
|
|
|
|
|
|
|
# rpm_key: key=https://tendermint-packages.interblock.io/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint |
|
|
|
|
|
|
|
|
#Workaround |
|
|
#Workaround |
|
|
- name: Download repository key for CentOS/RedHat |
|
|
- name: Download repository key for CentOS/RedHat |
|
|
when: ansible_os_family == "RedHat" |
|
|
when: ansible_os_family == "RedHat" |
|
|
get_url: "url=https://do9rmxapsag1v.cloudfront.net/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint dest=/root/RPM-GPG-KEY-Tendermint force=yes checksum=sha256:a8c61d4061697d2595562c703dbafbdfdcfa7f0c75a523ac84d5609d1b444abe" |
|
|
|
|
|
|
|
|
get_url: "url=https://tendermint-packages.interblock.io/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint dest=/root/RPM-GPG-KEY-Tendermint force=yes checksum=sha256:a8c61d4061697d2595562c703dbafbdfdcfa7f0c75a523ac84d5609d1b444abe" |
|
|
- name: Import repository key for CentOS/RedHat |
|
|
- name: Import repository key for CentOS/RedHat |
|
|
when: ansible_os_family == "RedHat" |
|
|
when: ansible_os_family == "RedHat" |
|
|
command: "rpm --import /root/RPM-GPG-KEY-Tendermint" |
|
|
command: "rpm --import /root/RPM-GPG-KEY-Tendermint" |
|
@ -22,10 +22,10 @@ |
|
|
when: ansible_os_family == "RedHat" |
|
|
when: ansible_os_family == "RedHat" |
|
|
yum_repository: |
|
|
yum_repository: |
|
|
name: tendermint |
|
|
name: tendermint |
|
|
baseurl: https://do9rmxapsag1v.cloudfront.net/centos/7/os/x86_64 |
|
|
|
|
|
|
|
|
baseurl: https://tendermint-packages.interblock.io/centos/7/os/x86_64 |
|
|
description: "Tendermint repo" |
|
|
description: "Tendermint repo" |
|
|
gpgcheck: yes |
|
|
gpgcheck: yes |
|
|
gpgkey: https://do9rmxapsag1v.cloudfront.net/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint |
|
|
|
|
|
|
|
|
gpgkey: https://tendermint-packages.interblock.io/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint |
|
|
# repo_gpgcheck: yes |
|
|
# repo_gpgcheck: yes |
|
|
|
|
|
|
|
|
- name: Install package on CentOS/RedHat |
|
|
- name: Install package on CentOS/RedHat |
|
|