From 46605d0b074c14c6f87b499bf5c1971e3b7d4a0e Mon Sep 17 00:00:00 2001 From: spmfox Date: Thu, 16 Nov 2023 10:52:21 -0500 Subject: adding quotations --- containers.yml | 2 +- host.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/containers.yml b/containers.yml index 048a981..6e23e8a 100644 --- a/containers.yml +++ b/containers.yml @@ -145,4 +145,4 @@ loop: "{{ containers }}" - name: Prune old images - ansible.builtin.shell: podman image prune -f + ansible.builtin.shell: "podman image prune -f" diff --git a/host.yml b/host.yml index effa8d5..151dadf 100644 --- a/host.yml +++ b/host.yml @@ -4,13 +4,13 @@ tasks: - name: Create containers user ansible.builtin.user: - name: containers + name: "containers" - name: Install systemd-container and podman ansible.builtin.package: name: - - systemd-container - - podman + - "systemd-container" + - "podman" state: present - name: Confirm systemd-linger is set for containers user @@ -61,14 +61,14 @@ - name: Create new tmp directory for podman ansible.builtin.file: - path: /var/containers/tmp + 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 + path: "/etc/containers/containers.conf" create: true block: | [engine] -- cgit