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"
|
|
|
|
|
|
|
|
- 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
|
|
|
...
|