From 49be7d42be1a2d73540cffcf1f92c4f55e73be4c Mon Sep 17 00:00:00 2001 From: Timotheus Bachinger Date: Tue, 14 Nov 2023 12:37:09 +0100 Subject: [PATCH] Revert "use pip to install ansible and pin to working version" It seems the original issue is fixed now: https://github.com/ansible-community/ppa/issues/77 This reverts commit 02c432c03359a99058e85c8d0663f53a40355f32. --- packer/checkmk.pkr.hcl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packer/checkmk.pkr.hcl b/packer/checkmk.pkr.hcl index e89ba773191..a531c262c96 100644 --- a/packer/checkmk.pkr.hcl +++ b/packer/checkmk.pkr.hcl @@ -117,8 +117,10 @@ build { # install ansible provisioner "shell" { inline = [ - "sudo apt-get install -y -q software-properties-common python3-pip", - "sudo python3 -m pip install ansible==8.5.0", + "sudo apt-get install -y -q software-properties-common", + "sudo add-apt-repository --yes --update ppa:ansible/ansible", + "sudo apt-get update", + "sudo apt-get install -y -q ansible", ] } # run playbook