diff options
Diffstat (limited to 'roles/my_workspace/tasks/project.yml')
-rw-r--r-- | roles/my_workspace/tasks/project.yml | 8 |
1 files changed, 4 insertions, 4 deletions
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 |