Skip to content

Commit 944415c

Browse files
authored
Merge pull request #50 from camptocamp/master
Do not read the filesystem when check mode is on
2 parents 1b3f56a + 15eea81 commit 944415c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/install.yml

+2
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,12 @@
4949
group: "root"
5050
copy: False
5151
creates: "{{ consul_template_staging_area }}/{{ consul_template_binary }}"
52+
when: not ansible_check_mode
5253

5354
- name: copy consul-template binary into place
5455
command: cp {{ consul_template_staging_area }}/{{ consul_template_binary }} {{ consul_template_home }}/bin/{{ consul_template_binary }}
5556
creates={{ consul_template_home }}/bin/{{ consul_template_binary }}
57+
when: not ansible_check_mode
5658

5759
- name: Update consul-template permissions
5860
file:

0 commit comments

Comments
 (0)