fix non-lts version

This commit is contained in:
Antonio J. Delgado 2023-11-19 14:43:54 +02:00
parent e9aa160f16
commit bdfdaa66d2

View file

@ -3,7 +3,7 @@
apt:
deb: "https://apt.puppetlabs.com/puppet{{ puppet_version }}-release-{{ ansible_distribution_release }}.deb"
when:
- ansible_facts['distribution_release'] not in ['groovy', 'hirsute', 'bookworm']
- ansible_facts['distribution_release'] not in ['groovy', 'hirsute', 'lunar', 'maniac']
- name: Ensure Puppet repository is installed (Ubuntu not LTS)
apt: