diff --git a/playbooks/filesystem/common/var/lib/_hostname/home/_service_user_name/.config/containers/containers.conf.j2 b/playbooks/filesystem/common/var/lib/_hostname/home/_service_user_name/.config/containers/containers.conf.j2 deleted file mode 100644 index 699e405..0000000 --- a/playbooks/filesystem/common/var/lib/_hostname/home/_service_user_name/.config/containers/containers.conf.j2 +++ /dev/null @@ -1,2 +0,0 @@ -[engine] -volume_path = "/var/lib/{{ ansible_hostname }}/data/{{ service_user_name }}" diff --git a/playbooks/tasks/services/deploy/service/01-user.yml b/playbooks/tasks/services/deploy/service/01-user.yml index e3d00fa..00c5074 100644 --- a/playbooks/tasks/services/deploy/service/01-user.yml +++ b/playbooks/tasks/services/deploy/service/01-user.yml @@ -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: