add potential mount items and overrides

This commit is contained in:
Louis Abel 2024-04-21 20:56:43 -07:00
parent 347dc10d88
commit 55521638ab
Signed by: label
GPG key ID: 2A6975660E424560
8 changed files with 26 additions and 0 deletions

View file

@ -6,6 +6,11 @@
with_items: with_items:
- "{{ ansible_distribution }}.yml" - "{{ 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 - name: Create overrides if we're an IPA Replica
ansible.builtin.include_vars: "{{ item }}" ansible.builtin.include_vars: "{{ item }}"
with_first_found: with_first_found:

4
vars/RedHat-10.yml Normal file
View file

@ -0,0 +1,4 @@
---
mount_options_var_tmp: "defaults,nodev,nosuid"
mount_options_tmp: "defaults,nodev,nosuid"
...

3
vars/RedHat-8.yml Normal file
View file

@ -0,0 +1,3 @@
---
# Nothing to load
...

3
vars/RedHat-9.yml Normal file
View file

@ -0,0 +1,3 @@
---
# Nothing to load
...

View file

@ -14,6 +14,14 @@ grub_boot_options: audit=1
grub_config_path_link: /etc/grub2.cfg grub_config_path_link: /etc/grub2.cfg
grub_config_path_efi: /etc/grub2-efi.cfg grub_config_path_efi: /etc/grub2-efi.cfg
mount_options_var_tmp: "defaults,nodev,nosuid,noexec"
mount_options_tmp: "defaults,nodev,nosuid,noexec"
mount_options_dev_shm: "defaults,nodev,nosuid,noexec"
mount_options_var_log: "defaults,nodev,nosuid,noexec"
mount_options_var_log_audit: "defaults,nodev,nosuid,noexec"
mount_options_home: "defaults,nodev,nosuid"
mount_options_var: "defaults,nodev,nosuid"
ipatype: client ipatype: client
remove_packages: remove_packages:

1
vars/Rocky-10.yml Symbolic link
View file

@ -0,0 +1 @@
RedHat-10.yml

1
vars/Rocky-8.yml Symbolic link
View file

@ -0,0 +1 @@
RedHat-8.yml

1
vars/Rocky-9.yml Symbolic link
View file

@ -0,0 +1 @@
RedHat-9.yml