Add exclusion for noble

This commit is contained in:
Antonio J. Delgado 2024-05-16 10:17:13 +03:00
parent 553786da9a
commit 62b115611c

View file

@ -3,14 +3,14 @@
apt:
deb: "https://apt.puppetlabs.com/puppet{{ puppet_version }}-release-{{ ansible_distribution_release }}.deb"
when:
- ansible_facts['distribution_release'] not in ['groovy', 'hirsute', 'lunar', 'mantic']
- ansible_facts['distribution_release'] not in ['groovy', 'hirsute', 'lunar', 'mantic', 'noble']
- name: Ensure Puppet repository is installed (Ubuntu not LTS)
apt:
deb: "https://apt.puppetlabs.com/puppet{{ puppet_version }}-release-jammy.deb"
when:
- ansible_facts['distribution'] != 'Debian'
- ansible_facts['distribution_release'] in ['groovy', 'hirsute', 'lunar', 'mantic']
- ansible_facts['distribution_release'] in ['groovy', 'hirsute', 'lunar', 'mantic', 'noble']
- name: Ensure Puppet repository is installed (Debian Bookworm)
apt: