mono-infrastructure/ansible/playbooks/tasks/variable_loader_common.yml

23 lines
549 B
YAML
Raw Normal View History

2020-12-10 19:59:59 +00:00
---
- name: Standard System Configuration Variables
block:
- name: Loading Variables from OS Common
include_vars: "{{ item }}"
with_items:
- "{{ ansible_distribution }}.yml"
- name: Create overrides if we're an IPA Replica
include_vars: "{{ item }}"
with_first_found:
- "ipaserver.yml"
when: "'ipaserver' in group_names"
2020-12-10 19:59:59 +00:00
- name: Check if system is EFI
stat:
path: "/sys/firmware/efi"
register: efi_installed
always:
- debug: msg="Variables are now loaded"
...