From ae8f2c766c95f66c9baa74ccf34d2fd2166123a1 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 16 May 2024 00:59:02 +0200 Subject: add arch options for sssd and signed_certificate --- roles/sssd/tasks/arch.yaml | 6 ++++++ roles/sssd/tasks/debian.yaml | 8 ++++++++ roles/sssd/tasks/main.yml | 9 ++------- 3 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 roles/sssd/tasks/arch.yaml create mode 100644 roles/sssd/tasks/debian.yaml (limited to 'roles/sssd') diff --git a/roles/sssd/tasks/arch.yaml b/roles/sssd/tasks/arch.yaml new file mode 100644 index 0000000..469455e --- /dev/null +++ b/roles/sssd/tasks/arch.yaml @@ -0,0 +1,6 @@ +--- +- name: Install packages with pacman + community.general.pacman: + name: + - sssd + become: yes diff --git a/roles/sssd/tasks/debian.yaml b/roles/sssd/tasks/debian.yaml new file mode 100644 index 0000000..f3c28b6 --- /dev/null +++ b/roles/sssd/tasks/debian.yaml @@ -0,0 +1,8 @@ +--- +- name: Install packages with apt + apt: + name: + - sssd + - libpam-sss + - libnss-sss + become: yes diff --git a/roles/sssd/tasks/main.yml b/roles/sssd/tasks/main.yml index e24cdfd..2339427 100644 --- a/roles/sssd/tasks/main.yml +++ b/roles/sssd/tasks/main.yml @@ -1,11 +1,6 @@ --- -- name: Install packages - apt: - name: - - sssd - - libpam-sss - - libnss-sss - become: yes +- name: Include distribution specific install tasks + include_tasks: '{{ ansible_facts.os_family | lower }}.yaml' - name: Install SSSD Config file template: -- cgit v1.2.3