diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-09-01 00:26:13 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-09-01 00:26:13 +0200 |
commit | a89e16c44ee6d038e4f4cf435902e66558cc5cf4 (patch) | |
tree | 745201ec1b6b2e6f5239cf4feaf790fb4a138654 /roles/my_workspace/tasks/project.yml | |
parent | apt: don't remove after autoremoving dependencies (diff) | |
download | infra-ansible-a89e16c44ee6d038e4f4cf435902e66558cc5cf4.tar.gz infra-ansible-a89e16c44ee6d038e4f4cf435902e66558cc5cf4.zip |
sort module args, add missing state args, etc.
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 |