- name: "Check if the distribution is Debian" assert: msg: "Proxmox VE 6 can only be installed properly on Debian Buster. You distribution: {{ ansible_os_family }}" that: - ansible_os_family == 'Debian' - name: "Check if the version is Buster" assert: msg: "Proxmox VE 6 can only be installed properly on Debian Buster. Your version: {{ ansible_distribution_release }}" that: - ansible_distribution_release == 'buster' - name: "Install Aptitude" apt: name: aptitude state: present