diff --git a/roles/podman_host/tasks/main.yml b/roles/podman_host/tasks/main.yml index 24d9e2e..45ab3e4 100644 --- a/roles/podman_host/tasks/main.yml +++ b/roles/podman_host/tasks/main.yml @@ -14,6 +14,15 @@ state: latest become: true +- name: Podman Host | PATCH | Install containers.conf + ansible.builtin.template: + src: etc/containers.conf + dest: /etc/containers.conf + owner: root + group: root + mode: "0644" + become: true + - name: Podman Host | AUDIT | Ensure that users exist and have subids configured ansible.builtin.include_tasks: file: check_users.yml diff --git a/roles/podman_host/templates/etc/containters.conf b/roles/podman_host/templates/etc/containters.conf new file mode 100644 index 0000000..af985a1 --- /dev/null +++ b/roles/podman_host/templates/etc/containters.conf @@ -0,0 +1,2 @@ +[engine] +env = ["TMPDIR=/tmp"] \ No newline at end of file