Commit 4959ee1c authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

playbook: Debian 11 needs gpg and gpg-agent to have working apt-key

parent a0a59c1e
......@@ -6,5 +6,9 @@
- name: Install gpg using apt
apt: name=gpg state=present
when: ansible_distribution == "Debian" and ansible_distribution_major_version == "10"
when: ansible_distribution == "Debian" and ansible_distribution_major_version|int >= 10
- name: Install gpg-agent using apt
apt: name=gpg-agent state=present
when: ansible_distribution == "Debian" and ansible_distribution_major_version|int >= 11
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment