Skip to content

Commit cc5983f

Browse files
author
Pierre Buyle
committed
Keep modified files while doing the git checkout.
1 parent 2a3badf commit cc5983f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/git-checkout.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
file: path={{nginx_drupal_config_path}} state=absent
77
when: nginx_drupal_config_path_dot_git.stat.exists == false
88
- name: "Checkout configuration directory"
9-
git: dest={{nginx_drupal_config_path}} repo={{nginx_drupal_git.repo}} version={{nginx_drupal_git.version}}
9+
git: dest={{nginx_drupal_config_path}} repo={{nginx_drupal_git.repo}} version={{nginx_drupal_git.version}} force=no
1010
notify:
1111
- reload nginx
1212
- name: "Remove example.com configuration file"

0 commit comments

Comments
 (0)