Exclude known bad puppet version

puppet 7.29.0 introduced a regression[1], which is causing pops errors.
Let's exclude the version until the new version with an appropriate fix
is released.

[1] https://github.com/puppetlabs/puppet/issues/9268

Change-Id: If1cf943890fbdeb40bb6a7a2a2d7acf44337ddf6
This commit is contained in:
Takashi Kajinami 2024-02-28 12:32:29 +09:00
parent 1d1b99eb2d
commit 44834b77ba

View File

@ -98,3 +98,13 @@
become: true
when:
- ansible_os_family == 'RedHat'
# TODO(tkajinam): Remove this one the issue is resolved in puppet
- block:
- name: Workaround for https://github.com/puppetlabs/puppet/issues/9268
shell:
cmd: |
dnf config-manager --save --setopt exclude=puppet-agent-7.29.0-1.el9.x86_64
become: true
when:
- ansible_os_family == 'RedHat'