ansible/roles/ctop/tasks/main.yaml
Louis Vallat 4b1403be21
feat: initial commit
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2022-11-14 08:32:06 +01:00

28 lines
631 B
YAML

---
- name: Install required system packages
ansible.builtin.apt:
pkg:
- apt-transport-https
- ca-certificates
- gnupg
- curl
state: latest
update_cache: true
- name: Add ctop GPG apt key
ansible.builtin.apt_key:
url: https://azlux.fr/repo.gpg.key
state: present
- name: Add ctop repository
ansible.builtin.apt_repository:
repo: deb http://packages.azlux.fr/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} main
state: present
- name: Install ctop package
ansible.builtin.apt:
pkg:
- docker-ctop
state: latest
update_cache: true