Rework podman rootless
This commit is contained in:
parent
6028bfad05
commit
3fed00c6d2
1 changed files with 18 additions and 2 deletions
|
@ -10,9 +10,25 @@ applications_podman_enable:
|
||||||
- require:
|
- require:
|
||||||
- applications_podman_pkgs
|
- applications_podman_pkgs
|
||||||
|
|
||||||
|
applications_podman_rootless_cgroup_mode:
|
||||||
|
file.keyvalue:
|
||||||
|
- name: /etc/rc.conf
|
||||||
|
- key_values:
|
||||||
|
rc_cgroup_mode: "unified"
|
||||||
|
- separator: '='
|
||||||
|
- uncomment: '#'
|
||||||
|
- key_ignore_case: false
|
||||||
|
- value_ignore_case: false
|
||||||
|
- append_if_not_found: true
|
||||||
|
- require:
|
||||||
|
- applications_podman_pkgs
|
||||||
|
|
||||||
applications_podman_rootless_cgroups:
|
applications_podman_rootless_cgroups:
|
||||||
service.enabled:
|
service.running:
|
||||||
- name: cgroups
|
- name: cgroups
|
||||||
|
- enable: True
|
||||||
|
- watch:
|
||||||
|
- applications_podman_rootless_cgroup_mode
|
||||||
|
|
||||||
applications_podman_user:
|
applications_podman_user:
|
||||||
user.present:
|
user.present:
|
||||||
|
|
Loading…
Reference in a new issue