Deconfigure volume_path
This commit is contained in:
parent
af11b75713
commit
48fe1e2496
@ -1,2 +0,0 @@
|
|||||||
[engine]
|
|
||||||
volume_path = "/var/lib/{{ ansible_hostname }}/data/{{ service_user_name }}"
|
|
@ -76,18 +76,10 @@
|
|||||||
mode: 0644
|
mode: 0644
|
||||||
register: user_containers_storage
|
register: user_containers_storage
|
||||||
|
|
||||||
- name: Configure containers.conf for user {{ service_user_name }}
|
|
||||||
template:
|
|
||||||
src: "./filesystem/common/var/lib/_hostname/home/_service_user_name/.config/containers/containers.conf.j2"
|
|
||||||
dest: "{{ service_home }}/.config/containers/containers.conf"
|
|
||||||
mode: 0644
|
|
||||||
register: user_containers_containers
|
|
||||||
|
|
||||||
- name: Reset podman
|
- name: Reset podman
|
||||||
shell: "cd $HOME; yes | podman system reset"
|
shell: "cd $HOME; yes | podman system reset"
|
||||||
when:
|
when:
|
||||||
user_containers_storage is changed or
|
user_containers_storage is changed
|
||||||
user_containers_containers is changed
|
|
||||||
|
|
||||||
- name: Create systemd directory for user {{ service_user_name }}
|
- name: Create systemd directory for user {{ service_user_name }}
|
||||||
file:
|
file:
|
||||||
|
Loading…
Reference in New Issue
Block a user