Implemented shallow cloning for git

This commit is contained in:
2025-12-04 23:50:24 +01:00
parent 0cf6674ab5
commit 9fb372be52
5 changed files with 19 additions and 15 deletions

View File

@@ -13,11 +13,12 @@
- name: pull docker repository
git:
repo: "{{ DISCOURSE_REPOSITORY_URL }}"
dest: "{{ DISCOURSE_REPOSITORY_DIR }}"
repo: "{{ DISCOURSE_REPOSITORY_URL }}"
dest: "{{ DISCOURSE_REPOSITORY_DIR }}"
update: yes
notify: recreate discourse
become: true
depth: 1
notify: recreate discourse
become: true
ignore_errors: true
- name: set chmod 700 for '{{ DISCOURSE_CONTAINERS_DIR }}'