aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--host.yml15
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
diff --git a/host.yml b/host.yml
index db28e96..effa8d5 100644
--- a/host.yml
+++ b/host.yml
@@ -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