]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Installing cpanminus on apt systems wip-cpan-fix 713/head
authorAdam Kraitman <akraitma@redhat.com>
Mon, 2 Jan 2023 09:23:44 +0000 (11:23 +0200)
committerAdam Kraitman <akraitma@redhat.com>
Mon, 2 Jan 2023 09:23:44 +0000 (11:23 +0200)
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 <akraitma@redhat.com>
roles/testnode/tasks/cpan.yml

index 12423c38a4c143f708ec28ec9cf7e35958e7801c..0536246030f582e933936908aea99e7005a6487a 100644 (file)
     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."