Browse Source

Debian/RedHat repo fixes, added greg money to public_testnet

pull/1943/head
Greg Szabo 7 years ago
parent
commit
717c612ba7
3 changed files with 22 additions and 18 deletions
  1. +12
    -8
      ansible/app_options_files/public_testnet
  2. +6
    -6
      ansible/roles/install/tasks/centos.yml
  3. +4
    -4
      ansible/roles/install/tasks/debian.yml

+ 12
- 8
ansible/app_options_files/public_testnet View File

@ -94,20 +94,24 @@
]
},
{
"name": "phomer",
"address": "BAA67E0346AF48A05330149A3A72D9B974E9EBD2",
"pub_key": {
"name": "gregkey",
"address": "B01C264BFE9CBD45458256E613A6F07061A3A6B6",
"pubkey": {
"type": "ed25519",
"data": "F5DF27FD625800D971A9E9B2607F0052480E49A12BE85E17336F773FE6FB9BC9"
},
"data": "E1FFBD187FA2A922CE1B367532CEAC1AD8E606D576AB0D2E2CAA7EC6B7DAC10F"
}, "address": "0767FF644453E38FBDB16A238D383AC8EFA87518",
"coins": [
{
"denom": "antipho",
"amount": 33
"denom": "mycoin",
"amount": 3478765434568
},
{
"denom": "pho",
"denom": "buckyball",
"amount": 8367251830291
},
{
"denom": "playmoney",
"amount": 9999999999999
}
]
},


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

@ -1,19 +1,19 @@
---
#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
#This has a bug in Ansible 2.3: https://github.com/ansible/ansible/issues/20711
#- name: Add repository key on CentOS/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
- name: Download repository key for CentOS/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
when: ansible_os_family == "RedHat"
command: "rpm --import /root/RPM-GPG-KEY-Tendermint"
@ -22,10 +22,10 @@
when: ansible_os_family == "RedHat"
yum_repository:
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"
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
- name: Install package on CentOS/RedHat


+ 4
- 4
ansible/roles/install/tasks/debian.yml View File

@ -1,20 +1,20 @@
---
#Three commands to install a service on Debian/Ubuntu
#wget -O - https://do9rmxapsag1v.cloudfront.net/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint | apt-key add -
#wget -O /etc/apt/sources.list.d/tendermint.list https://do9rmxapsag1v.cloudfront.net/debian/tendermint.list
#wget -O - https://tendermint-packages.interblock.io/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint | apt-key add -
#wget -O /etc/apt/sources.list.d/tendermint.list https://tendermint-packages.interblock.io/debian/tendermint.list
#apt-get update && apt-get install basecoin
- name: Add repository key on Debian/Ubuntu
when: ansible_os_family == "Debian"
apt_key:
url: https://do9rmxapsag1v.cloudfront.net/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint
url: https://tendermint-packages.interblock.io/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint
id: 2122CBE9
- name: Install tendermint repository on Debian/Ubuntu
when: ansible_os_family == "Debian"
apt_repository:
repo: deb https://do9rmxapsag1v.cloudfront.net/debian stable main
repo: deb https://tendermint-packages.interblock.io/debian stable main
- name: Install package on Debian/Ubuntu
when: ansible_os_family == "Debian"


Loading…
Cancel
Save