2022-02-27 03:19:20 +00:00
|
|
|
---
|
|
|
|
- name: Standard System Configuration Variables
|
|
|
|
block:
|
|
|
|
- name: Loading Variables from OS Common
|
2023-04-22 01:28:46 +00:00
|
|
|
ansible.builtin.include_vars: "{{ item }}"
|
2022-02-27 03:19:20 +00:00
|
|
|
with_items:
|
|
|
|
- "{{ ansible_distribution }}.yml"
|
|
|
|
|
2024-04-22 03:56:43 +00:00
|
|
|
- name: Load version specific overrides
|
|
|
|
ansible.builtin.include_vars: "{{ item }}"
|
|
|
|
with_items:
|
|
|
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
|
|
|
|
|
2022-02-27 03:19:20 +00:00
|
|
|
- name: Create overrides if we're an IPA Replica
|
2023-04-22 01:28:46 +00:00
|
|
|
ansible.builtin.include_vars: "{{ item }}"
|
2022-02-27 03:19:20 +00:00
|
|
|
with_first_found:
|
|
|
|
- "ipaserver.yml"
|
|
|
|
when: "'ipaserver' in group_names"
|
|
|
|
|
|
|
|
- name: Check if system is EFI
|
2023-04-22 01:28:46 +00:00
|
|
|
ansible.builtin.stat:
|
2022-02-27 03:19:20 +00:00
|
|
|
path: "/sys/firmware/efi"
|
|
|
|
register: efi_installed
|
|
|
|
|
|
|
|
always:
|
2023-04-22 01:28:46 +00:00
|
|
|
- name: Notify of load
|
|
|
|
ansible.builtin.debug:
|
|
|
|
msg: "Variables are now loaded"
|
2022-02-27 03:19:20 +00:00
|
|
|
...
|