From a89e16c44ee6d038e4f4cf435902e66558cc5cf4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 1 Sep 2023 00:26:13 +0200 Subject: sort module args, add missing state args, etc. --- roles/my_workspace/tasks/project.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'roles/my_workspace/tasks/project.yml') diff --git a/roles/my_workspace/tasks/project.yml b/roles/my_workspace/tasks/project.yml index 276d10b..c0f652c 100644 --- a/roles/my_workspace/tasks/project.yml +++ b/roles/my_workspace/tasks/project.yml @@ -6,9 +6,9 @@ block: - name: 'Update repository: {{ project_name }}' ansible.builtin.git: - accept_hostkey: true - dest: '{{ project_dir }}' repo: '{{ project_url }}' + dest: '{{ project_dir }}' + accept_hostkey: true - name: Check for Makefile ansible.builtin.file: @@ -33,9 +33,9 @@ - name: Run docker-compose become: true community.docker.docker_compose: - build: true - debug: true project_src: '{{ project_dir }}' pull: true + build: true remove_orphans: true + debug: true when: makefile_check is not succeeded and docker_compose_check is succeeded -- cgit v1.2.3