mirror of
https://github.com/luzifer-ansible/deploy-git.git
synced 2024-11-09 21:59:59 +00:00
Fix: When should not include templating
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
9a8ff818a0
commit
85393ae446
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
command: '{{ item.pre_command.command }}'
|
command: '{{ item.pre_command.command }}'
|
||||||
args:
|
args:
|
||||||
chdir: '{{ item.pre_command.chdir | default(item.dest) }}'
|
chdir: '{{ item.pre_command.chdir | default(item.dest) }}'
|
||||||
when: '{{ item.pre_command is defined }}'
|
when: item.pre_command is defined
|
||||||
|
|
||||||
- name: Checkout git repo
|
- name: Checkout git repo
|
||||||
git:
|
git:
|
||||||
|
@ -19,6 +19,6 @@
|
||||||
command: '{{ item.post_command.command }}'
|
command: '{{ item.post_command.command }}'
|
||||||
args:
|
args:
|
||||||
chdir: '{{ item.post_command.chdir | default(item.dest) }}'
|
chdir: '{{ item.post_command.chdir | default(item.dest) }}'
|
||||||
when: '{{ item.post_command is defined and git_checkout.changed }}'
|
when: item.post_command is defined and git_checkout.changed
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue