fix release name

This commit is contained in:
Antonio J. Delgado 2023-11-19 14:46:06 +02:00
parent bdfdaa66d2
commit 553786da9a

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', 'maniac']
- ansible_facts['distribution_release'] not in ['groovy', 'hirsute', 'lunar', 'mantic']
- name: Ensure Puppet repository is installed (Ubuntu not LTS)
apt:
deb: "https://apt.puppetlabs.com/puppet{{ puppet_version }}-release-focal.deb"
deb: "https://apt.puppetlabs.com/puppet{{ puppet_version }}-release-jammy.deb"
when:
- ansible_facts['distribution'] != 'Debian'
- ansible_facts['distribution_release'] in ['groovy', 'hirsute', 'lunar', 'maniac']
- ansible_facts['distribution_release'] in ['groovy', 'hirsute', 'lunar', 'mantic']
- name: Ensure Puppet repository is installed (Debian Bookworm)
apt: