From 17cd3200b32c8340f9d1b2ef2a5b16a33c3a4b8c Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 17 Oct 2022 18:24:35 +0300 Subject: [PATCH] change to use focal for jammy puppet server --- tasks/install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/install.yml b/tasks/install.yml index 2fa67db..8394ed5 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -2,12 +2,12 @@ - name: Ensure Puppet repository is installed apt: deb: "https://apt.puppetlabs.com/puppet{{ puppet_version }}-release-{{ ansible_distribution_release }}.deb" - when: ansible_distribution_release != "hirsute" + when: ansible_distribution_release != "hirsute" and ansible_distribution_release != "jammy" - name: Ensure Puppet repository is installed apt: deb: "https://apt.puppetlabs.com/puppet{{ puppet_version }}-release-focal.deb" - when: ansible_distribution_release == "hirsute" + when: ansible_distribution_release == "hirsute" or ansible_distribution_release == "jammy" - name: Ensure software for Puppet server is installed package: