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.

34 lines
1.2 KiB

  1. ---
  2. #Three commands to install a service on Debian/Ubuntu
  3. #wget -O - https://tendermint-packages.interblock.io/centos/7/os/x86_64/RPM-GPG-KEY-Tendermint | apt-key add -
  4. #wget -O /etc/apt/sources.list.d/tendermint.list https://tendermint-packages.interblock.io/debian/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: https://tendermint-packages.interblock.io/{{ (devops_path | default(false) | bool) | ternary('devops/','') }}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 https://tendermint-packages.interblock.io/{{ (devops_path | default(false) | bool) | ternary('devops/','') }}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"
  18. # The below command is required to use the tomlconfig playbook.
  19. - name: Install package on Debian/Ubuntu
  20. when: ansible_os_family == "Debian"
  21. apt: "pkg={{item}} state=latest"
  22. with_items:
  23. - python-toml
  24. - unzip
  25. - tar
  26. #For show_validator command:
  27. - tendermint