Merge "Force cgroupfs cgroup manager with podman on ubuntu"
This commit is contained in:
commit
efdedc66a3
@ -21,3 +21,14 @@
|
||||
file:
|
||||
state: absent
|
||||
path: /etc/containers/registries.conf
|
||||
|
||||
- name: Create containers config dir
|
||||
file:
|
||||
path: '{{ ansible_user_dir }}/.config/containers'
|
||||
state: directory
|
||||
- name: Force cgroup manager to cgroupfs for Ubuntu
|
||||
copy:
|
||||
content: |
|
||||
[engine]
|
||||
cgroup_manager = "cgroupfs"
|
||||
dest: '{{ ansible_user_dir }}/.config/containers/containers.conf'
|
||||
|
@ -10,3 +10,14 @@
|
||||
- golang-github-containernetworking-plugin-dnsname
|
||||
state: present
|
||||
become: yes
|
||||
|
||||
- name: Create containers config dir
|
||||
file:
|
||||
path: '{{ ansible_user_dir }}/.config/containers'
|
||||
state: directory
|
||||
- name: Force cgroup manager to cgroupfs for Ubuntu
|
||||
copy:
|
||||
content: |
|
||||
[engine]
|
||||
cgroup_manager = "cgroupfs"
|
||||
dest: '{{ ansible_user_dir }}/.config/containers/containers.conf'
|
||||
|
@ -25,3 +25,14 @@
|
||||
file:
|
||||
state: absent
|
||||
path: /etc/containers/registries.conf
|
||||
|
||||
- name: Create containers config dir
|
||||
file:
|
||||
path: '{{ ansible_user_dir }}/.config/containers'
|
||||
state: directory
|
||||
- name: Force cgroup manager to cgroupfs for Ubuntu
|
||||
copy:
|
||||
content: |
|
||||
[engine]
|
||||
cgroup_manager = "cgroupfs"
|
||||
dest: '{{ ansible_user_dir }}/.config/containers/containers.conf'
|
||||
|
Loading…
x
Reference in New Issue
Block a user