mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
Add proxy support to CRI-O service (#4607)
* Add proxy support to CRI-O service The crio.service requires proxy environment variables when it's deployed behind a corporated network. This change creates a systemd configuration file when the proxy variables are defined. * Remove unnecesary crio's tasks
This commit is contained in:
15
roles/container-engine/cri-o/handlers/main.yml
Normal file
15
roles/container-engine/cri-o/handlers/main.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: restart crio
|
||||
command: /bin/true
|
||||
notify:
|
||||
- CRI-O | reload systemd
|
||||
- CRI-O | reload crio
|
||||
|
||||
- name: CRI-O | reload systemd
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
|
||||
- name: CRI-O | reload crio
|
||||
service:
|
||||
name: crio
|
||||
state: restarted
|
||||
Reference in New Issue
Block a user