This commit is contained in:
2026-03-18 00:36:24 +01:00
parent 13b93d7f2b
commit a8e1883f22

View File

@@ -2,6 +2,11 @@
become: "{{ 'no' if inventory_hostname == 'nas.home.lan' else 'yes' }}" become: "{{ 'no' if inventory_hostname == 'nas.home.lan' else 'yes' }}"
block: block:
- name: Disable SELinux
ansible.posix.selinux:
state: permissive
policy: targeted
- name: Include role proxy_repo - name: Include role proxy_repo
ansible.builtin.include_role: ansible.builtin.include_role:
name: proxy_repo name: proxy_repo
@@ -12,11 +17,6 @@
when: use_local_repo | default(false) when: use_local_repo | default(false)
- name: Disable SELinux
ansible.posix.selinux:
state: permissive
policy: targeted
- name: Disable swap - name: Disable swap
command: swapoff -a command: swapoff -a
when: ansible_swaptotal_mb > 0 when: ansible_swaptotal_mb > 0