Install gotop, just downloading the binary and moving it to /usr/local/bin
If you don't know gotop, there is more information at https://github.com/xxxserxxx/gotop Short definition, it's a top like command in asteroids.
- Internet for downloading the binary
- SSH access to the target host
- x86_64 architecture
There are only two variables, the binary filename and the repository URL where it can be downloaded.
None
ansible-galaxy install oriolrius.install_gotop
For instance, gotop.yml:
- become: yes
user: root
hosts: all
name: Installing gotop
roles:
- { role: oriolrius.install_gotop }
And it can be run with:
# replace localhost host with the IP address of your target host.
# IMPORTANT! keep the comma at the end of the string, or IP address that you use.
ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i 'YOUR_HOST,' gotop.yml
# !!!! change YOUR_HOST for your IP address, or domain name.
BSD
Oriol Rius oriol@joor.net