add sssd role import and python install
This commit is contained in:
parent
eafad03705
commit
bc33201bd6
@ -4,10 +4,16 @@
|
|||||||
- name: detect debian
|
- name: detect debian
|
||||||
raw: uname -a|grep Debian||true
|
raw: uname -a|grep Debian||true
|
||||||
register: debian
|
register: debian
|
||||||
|
|
||||||
- name: "install python for debian"
|
- name: "install python for debian"
|
||||||
raw: apt-get install python3 --assume-yes
|
raw: apt-get install python3 --assume-yes
|
||||||
when: debian.stdout
|
when: debian.stdout
|
||||||
|
|
||||||
|
- name: "install python on arch"
|
||||||
|
raw: pacman -Sy python --noconfirm
|
||||||
|
when: not debian.stdout
|
||||||
|
|
||||||
|
|
||||||
- name: add local repo to mirrorlist
|
- name: add local repo to mirrorlist
|
||||||
become: yes
|
become: yes
|
||||||
lineinfile:
|
lineinfile:
|
||||||
@ -43,6 +49,10 @@
|
|||||||
when: not debian.stdout and (upgrade.changed and "linux" in upgrade.packages)
|
when: not debian.stdout and (upgrade.changed and "linux" in upgrade.packages)
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
|
- name: import sssd role for ldap support
|
||||||
|
import_role:
|
||||||
|
name: ansible-role-sssd
|
||||||
|
|
||||||
- name: zsh install
|
- name: zsh install
|
||||||
package:
|
package:
|
||||||
state: present
|
state: present
|
||||||
|
Loading…
Reference in New Issue
Block a user