--- - 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