This commit is contained in:
parent
666fb8dfdc
commit
5f571923a1
@ -2,7 +2,7 @@
|
|||||||
# tasks file for ansible_bootstrap
|
# tasks file for ansible_bootstrap
|
||||||
|
|
||||||
- name: detect debian
|
- name: detect debian
|
||||||
raw: at /etc/os-release|grep Debian||true
|
raw: cat /etc/os-release|grep Debian||true
|
||||||
register: debian
|
register: debian
|
||||||
|
|
||||||
- name: detect Rocky
|
- name: detect Rocky
|
||||||
@ -61,6 +61,12 @@
|
|||||||
when: arch.stdout and (upgrade.changed and "linux" in upgrade.packages)
|
when: arch.stdout and (upgrade.changed and "linux" in upgrade.packages)
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
|
- name: Collect only selected facts
|
||||||
|
ansible.builtin.setup:
|
||||||
|
filter:
|
||||||
|
- 'ansible_distribution'
|
||||||
|
- 'ansible_os_familly'
|
||||||
|
|
||||||
- name: import sssd role for ldap support
|
- name: import sssd role for ldap support
|
||||||
import_role:
|
import_role:
|
||||||
name: ansible-role-sssd
|
name: ansible-role-sssd
|
||||||
|
Loading…
Reference in New Issue
Block a user