From 9dcd97453a40a3cfad9a6fa05a3eecd8f90f48df Mon Sep 17 00:00:00 2001 From: Miguel Angel Date: Wed, 12 Aug 2020 19:34:37 +0200 Subject: [PATCH] Make git clone options configurable --- tasks/basic.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/basic.yml b/tasks/basic.yml index 8bb065d..01663ba 100644 --- a/tasks/basic.yml +++ b/tasks/basic.yml @@ -45,6 +45,8 @@ version: "{{ atom_repository_version }}" dest: "{{ atom_path }}/{{ atom_extra_path }}" accept_hostkey: "yes" + depth: "{{ atom_git_pull_code_depth | default(omit) }}" + force: "{{ atom_git_pull_code_force | default('no') }}" notify: - "Clear sf_cache" - "Reload PHP service"