From 2e35b30133d16800d91cfaee6f5652cc5fa04eb1 Mon Sep 17 00:00:00 2001 From: "James C. Womack" Date: Thu, 25 Apr 2024 13:15:16 +0100 Subject: [PATCH] Explicitly install authselect package This appears to not always be present on Rocky 8 images. --- roles/sssd/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/sssd/tasks/main.yml b/roles/sssd/tasks/main.yml index 7c99b118..4ed28011 100644 --- a/roles/sssd/tasks/main.yml +++ b/roles/sssd/tasks/main.yml @@ -16,6 +16,11 @@ - name: Update CA trust anchors ansible.builtin.command: update-ca-trust # noqa no-changed-when +- name: Install authselect + ansible.builtin.package: + name: authselect + state: present + - name: Enable SSSD auth in PAM ansible.builtin.command: authselect select sssd --force # noqa no-changed-when