Commit 0f23d3c8 authored by ulif's avatar ulif 🐻

Fix when-clause to work also when run locally.

In local connection mode there is no need to copy over hold music.
parent 17eca57c
......@@ -130,7 +130,7 @@
src: "hold_music.wav"
dest: "/opt/freeswitch/hold_music.wav"
when: "'hold_music.wav' is file"
when: "'hold_music.wav' is file and ansible_connection != 'local'"
- name: check if we got a sound file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment