mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-09-21 11:52:38 +00:00
ec056805ff
moved inv vars to group vars moved roles to collections and fixed playbooks added a prepare ansible host playbook to download needed roles and playbooks modified public roles and collection paths to install inside our dir structure to keep them from global installation
22 lines
539 B
YAML
22 lines
539 B
YAML
---
|
|
- 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: "'ipa' in group_names"
|
|
|
|
- name: Check if system is EFI
|
|
stat:
|
|
path: "/sys/firmware/efi"
|
|
register: efi_installed
|
|
|
|
always:
|
|
- debug: msg="Variables are now loaded"
|