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