mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-10-27 08:43:05 +00:00
Update roles/kubernetes/tasks/main.yml
This commit is contained in:
@ -48,6 +48,11 @@
|
|||||||
state: present
|
state: present
|
||||||
reload: yes
|
reload: yes
|
||||||
|
|
||||||
|
- name: Reload sysctl
|
||||||
|
ansible.builtin.command: sysctl --system
|
||||||
|
when: ansible_facts['os_family'] == 'Debian'
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
- name: Criar arquivo de configuração sysctl para Kubernetes
|
- name: Criar arquivo de configuração sysctl para Kubernetes
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: /etc/sysctl.d/k8s.conf
|
dest: /etc/sysctl.d/k8s.conf
|
||||||
@ -72,8 +77,3 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
|
||||||
- name: Reload sysctl
|
|
||||||
ansible.builtin.command: sysctl --system
|
|
||||||
when: ansible_facts['os_family'] == 'Debian'
|
|
||||||
changed_when: false
|
|
||||||
Reference in New Issue
Block a user