add gather fact
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
vincent 2022-10-30 18:11:47 +01:00
parent 666fb8dfdc
commit 5f571923a1

View File

@ -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