| 1 | --- |
| 2 | # Include variables and define needed variables. |
| 3 | - name: Include OS-specific variables. |
| 4 | include_vars: "{{ ansible_os_family }}.yml" |
| 5 | |
| 6 | - name: Define liburcu_packages. |
| 7 | set_fact: |
| 8 | liburcu_packages: "{{ __liburcu_packages | list }}" |
| 9 | when: liburcu_packages is not defined |
| 10 | |
| 11 | # Setup/install tasks. |
| 12 | - include: setup-RedHat.yml |
| 13 | when: ansible_os_family == 'RedHat' |
| 14 | |
| 15 | - include: setup-Debian.yml |
| 16 | when: ansible_os_family == 'Debian' |
| 17 | |
| 18 | - include: setup-Alpine.yml |
| 19 | when: ansible_os_family == 'Alpine' |
| 20 | |
| 21 | - include: setup-Suse.yml |
| 22 | when: ansible_os_family == 'Suse' |