Skip to content

Commit

Permalink
Merge pull request #81 from Dazul/possibility-to-have-check-scripts-p…
Browse files Browse the repository at this point in the history
…arameters

Add ability to have src_check_script and check_script with parameters
  • Loading branch information
evrardjp authored Feb 19, 2019
2 parents 94d8797 + 6899628 commit 00c9600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
- name: Dropping the tracking scripts
copy:
src: "{{ item.value.src_check_script }}"
dest: "{{ item.value.check_script }}"
dest: "{{ item.value.dest_check_script|default(item.value.check_script) }}"
mode: "0755"
with_dict: "{{ keepalived_scripts | default('{}') }}"
when: item.value.src_check_script is defined
Expand Down

0 comments on commit 00c9600

Please sign in to comment.