add sssd role import and python install
This commit is contained in:
parent
eafad03705
commit
bc33201bd6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user