From fae0a9a4686d180f9ba827eb8d4f1d84e30f3c0c Mon Sep 17 00:00:00 2001 From: willtome Date: Fri, 11 Feb 2022 16:17:04 -0500 Subject: [PATCH] change dir --- linux/podman.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/linux/podman.yml b/linux/podman.yml index 6499f2b..bb5eca3 100644 --- a/linux/podman.yml +++ b/linux/podman.yml @@ -1,9 +1,8 @@ --- - name: Podman hosts: "{{ HOSTS }}" - become: yes vars: - volume_path: /var/podman + volume_path: podman message: undef tasks: @@ -11,6 +10,7 @@ ansible.builtin.dnf: name: podman state: latest + become: yes - name: Create volume dir ansible.builtin.file: @@ -31,7 +31,6 @@ - "{{ volume_path }}:/usr/local/apache2/htdocs" ports: - "8080:80" - become: false - name: Check Web Page ansible.builtin.uri: @@ -44,7 +43,6 @@ shell: podman ps register: podman_output changed_when: false - become: false - name: Output ansible.builtin.debug: