+
Skip to content

Reload crio daemon after configuration file changes #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions cri-o.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,15 @@
name: /etc/crio/crio.conf
backup: yes
when: ansible_distribution in ['Fedora', 'RedHat', 'CentOS']
notify: restart crio

- name: run with overlay2
replace:
regexp: 'storage_driver = ""'
replace: 'storage_driver = "overlay2"'
name: /etc/crio/crio.conf
backup: yes
notify: restart crio

- name: add overlay2 storage opts on RHEL/CentOS
lineinfile:
Expand All @@ -170,6 +172,7 @@
regexp: 'overlay2\.override_kernel_check=1'
state: present
when: ansible_distribution in ['RedHat', 'CentOS']
notify: restart crio

- name: enable and start CRI-O
systemd:
Expand Down Expand Up @@ -213,3 +216,10 @@
- name: disable selinux
command: "setenforce 0"
when: ansible_distribution in ['Fedora', 'RedHat', 'CentOS']

handlers:
- name: restart crio
systemd:
name: crio
state: restarted
daemon_reload: yes
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载