From 3f1ce0c1f5b9838be916c628313c90afd079f8c7 Mon Sep 17 00:00:00 2001 From: Adam Kraitman Date: Mon, 2 Jan 2023 11:23:44 +0200 Subject: [PATCH] Installing cpanminus on apt systems Fixes: http://pulpito.front.sepia.ceph.com/yuriw-2023-01-01_20:02:51-krbd-pacific_16.2.11_RC4-testing-default-smithi/7130439/ Signed-off-by: Adam Kraitman --- roles/testnode/tasks/cpan.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/roles/testnode/tasks/cpan.yml b/roles/testnode/tasks/cpan.yml index 12423c38..05362460 100644 --- a/roles/testnode/tasks/cpan.yml +++ b/roles/testnode/tasks/cpan.yml @@ -33,10 +33,11 @@ group: root mode: 0755 -- name: Ensure perl-doc is installed on apt systems. - apt: - name: perl-doc - state: present +- name: Ensure perl-doc and cpanminus is installed on apt systems. + apt: name={{item}} state=present + with_items: + - cpanminus + - perl-doc when: ansible_pkg_mgr == "apt" - name: "Check to see if Amazon::S3 is installed." -- 2.47.3