Browse Source

Still fixing rpm

pull/1943/head
Greg Szabo 7 years ago
parent
commit
1cea4dd43f
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      ansible/roles/install/tasks/centos.yml

+ 5
- 2
ansible/roles/install/tasks/centos.yml View File

@ -11,9 +11,12 @@
# rpm_key: key=http://tendermint-packages.s3-website-us-west-1.amazonaws.com/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint
#Workaround
- name: Add repository key on CentOS/RedHat
- name: Download repository key for CentOS/RedHat
when: ansible_os_family == "RedHat"
shell: "wget -O - http://tendermint-packages.s3-website-us-west-1.amazonaws.com/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint | rpm --import -"
get_url: "url=http://tendermint-packages.s3-website-us-west-1.amazonaws.com/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
when: ansible_os_family == "RedHat"
command: "rpm --import /root/RPM-GPG-KEY-Tendermint"
- name: Install tendermint repository on CentOS/RedHat
when: ansible_os_family == "RedHat"


Loading…
Cancel
Save