24 lines
649 B
YAML
24 lines
649 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: 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"
|
|
...
|