mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-03-18 15:30:49 +01:00
build
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user