30 lines
845 B
YAML
30 lines
845 B
YAML
---
|
|
- name: Standard System Configuration Variables
|
|
block:
|
|
- name: Loading Variables from OS Common
|
|
ansible.builtin.include_vars: "{{ item }}"
|
|
with_items:
|
|
- "{{ ansible_distribution }}.yml"
|
|
|
|
- name: Load version specific overrides
|
|
ansible.builtin.include_vars: "{{ item }}"
|
|
with_items:
|
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
|
|
|
|
- name: Create overrides if we're an IPA Replica
|
|
ansible.builtin.include_vars: "{{ item }}"
|
|
with_first_found:
|
|
- "ipaserver.yml"
|
|
when: "'ipaserver' in group_names"
|
|
|
|
- name: Check if system is EFI
|
|
ansible.builtin.stat:
|
|
path: "/sys/firmware/efi"
|
|
register: efi_installed
|
|
|
|
always:
|
|
- name: Notify of load
|
|
ansible.builtin.debug:
|
|
msg: "Variables are now loaded"
|
|
...
|