--- - name: Add Zabbix repo key apt_key: url: https://repo.zabbix.com/zabbix-official-repo.key environment: https_proxy: "{{ system_proxy | default('') }}" tags: repo - name: Add Zabbix repo apt_repository: # Waiting for Zabbix repo to support bullseye, point it to buster repo: deb http://repo.zabbix.com/zabbix/{{ zabbix_major_version }}/debian {{ (ansible_distribution_release == 'bullseye') | ternary('buster',ansible_distribution_release) }} main filename: zabbix tags: repo