Deconfigure volume_path

This commit is contained in:
Wojciech Kozlowski 2022-10-26 23:56:59 +02:00
parent af11b75713
commit 48fe1e2496
2 changed files with 1 additions and 11 deletions

View File

@ -1,2 +0,0 @@
[engine]
volume_path = "/var/lib/{{ ansible_hostname }}/data/{{ service_user_name }}"

View File

@ -76,18 +76,10 @@
mode: 0644
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
shell: "cd $HOME; yes | podman system reset"
when:
user_containers_storage is changed or
user_containers_containers is changed
user_containers_storage is changed
- name: Create systemd directory for user {{ service_user_name }}
file: