From bc33201bd6cf01e1ceda7de3f4d0045fdeb49534 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 24 Oct 2021 11:18:05 +0200 Subject: [PATCH] add sssd role import and python install --- tasks/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 027b479..63ec68c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -4,10 +4,16 @@ - name: detect debian raw: uname -a|grep Debian||true register: debian + - name: "install python for debian" raw: apt-get install python3 --assume-yes when: debian.stdout +- name: "install python on arch" + raw: pacman -Sy python --noconfirm + when: not debian.stdout + + - name: add local repo to mirrorlist become: yes lineinfile: @@ -43,6 +49,10 @@ when: not debian.stdout and (upgrade.changed and "linux" in upgrade.packages) become: yes +- name: import sssd role for ldap support + import_role: + name: ansible-role-sssd + - name: zsh install package: state: present