diff options
| author | spmfox <spmfox@foxwd.com> | 2023-11-12 20:49:07 -0500 |
|---|---|---|
| committer | spmfox <spmfox@foxwd.com> | 2023-11-12 20:49:07 -0500 |
| commit | e4c804eca792ab1e8fa981b0ec7f6603c82a2833 (patch) | |
| tree | 915cebd6493f9775e5395bb8d3da9338782e11dc | |
| parent | e8a1759639495e5fd90648786ce9e47894ccfcb3 (diff) | |
cpanel dnsonly messes with /tmp, configuring podman to use /var/containers/tmp for its tmpdir
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | host.yml | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b5fba1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +inventories @@ -58,6 +58,21 @@ name: "firewalld" state: stopped enabled: false + + - name: Create new tmp directory for podman + ansible.builtin.file: + path: /var/containers/tmp + owner: containers + group: containers + state: directory + + - name: Configure podman to use new tmp directory + ansible.builtin.blockinfile: + path: /etc/containers/containers.conf + create: true + block: | + [engine] + env = ["TMPDIR=/var/containers/tmp"] tags: - never - cpanel-dnsonly |
