From d9daf4266ce4130a0f807974d37369d805c22720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Thu, 24 Jul 2025 13:39:51 +0300 Subject: [PATCH] Fix syntax error in deployer tasks --- tasks/deployer.yml | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/tasks/deployer.yml b/tasks/deployer.yml index a28e348..4130bd9 100644 --- a/tasks/deployer.yml +++ b/tasks/deployer.yml @@ -13,29 +13,29 @@ with_filetree: './files/nginx/' loop_control: label: "{{ item.path }}" - when: - - item.state == 'directory' + when: + - item.state == 'directory' tags: - nginx - - name: "Deployer - Nginx - Configure - Generating & Transferring Files" - ansible.builtin.template: - src: '{{ item.src }}' - dest: '~/data/nginx/{{ item.path }}' - with_filetree: './files/nginx/' - loop_control: - label: "{{ item.path }}" - when: - - item.state == 'file' - tags: - - nginx +- name: "Deployer - Nginx - Configure - Generating & Transferring Files" + ansible.builtin.template: + src: '{{ item.src }}' + dest: '~/data/nginx/{{ item.path }}' + with_filetree: './files/nginx/' + loop_control: + label: "{{ item.path }}" + when: + - item.state == 'file' + tags: + - nginx - - name: "Deployer - Nginx - Pull Image" - containers.podman.podman_image: - name: docker.io/library/nginx - tag: latest - force: true - register: deployerTask3 +- name: "Deployer - Nginx - Pull Image" + containers.podman.podman_image: + name: docker.io/library/nginx + tag: latest + force: true + register: deployerTask3 - name: "Deployer - Nginx - Run Container" containers.podman.podman_container: