You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
936 B

  1. ---
  2. #Three commands to install a service on Debian/Ubuntu
  3. #wget -O - http://tendermint-packages.s3-website-us-west-1.amazonaws.com/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint | apt-key add -
  4. #echo "deb http://tendermint-packages.s3-website-us-west-1.amazonaws.com/debian stable main" > /etc/apt/sources.list.d/tendermint.list
  5. #apt-get update && apt-get install basecoin
  6. - name: Add repository key on Debian/Ubuntu
  7. when: ansible_os_family == "Debian"
  8. apt_key:
  9. url: http://tendermint-packages.s3-website-us-west-1.amazonaws.com/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint
  10. id: 2122CBE9
  11. - name: Install tendermint repository on Debian/Ubuntu
  12. when: ansible_os_family == "Debian"
  13. apt_repository:
  14. repo: deb http://tendermint-packages.s3-website-us-west-1.amazonaws.com/debian stable main
  15. - name: Install package on Debian/Ubuntu
  16. when: ansible_os_family == "Debian"
  17. apt: "pkg={{service}} update_cache=yes state=latest"