You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this role with spanish sounds and it fails with the next error:
TASK [install-asterisk : Download and extract Asterisk sounds] ***********
fatal: [default]: FAILED! => {"changed": false, "msg": "dest '/var/lib/asterisk/sounds/es' must be an existing dir"}
It seems that unarchive module (ansible 2.5 doc) does not create destination directory if it doesn't exist. I don't actually remember if Asterisk default sounds directory is /var/lib/asterisk/sounds/en but this path is defined in vars/main.yml and it may be the reason this task has not failed so far.
Anyway, a fix is actually simple, creating the directory before unpacking sounds:
I'm using this role with spanish sounds and it fails with the next error:
It seems that unarchive module (ansible 2.5 doc) does not create destination directory if it doesn't exist. I don't actually remember if Asterisk default sounds directory is
/var/lib/asterisk/sounds/en
but this path is defined invars/main.yml
and it may be the reason this task has not failed so far.Anyway, a fix is actually simple, creating the directory before unpacking sounds:
Please let me know if you want this as a PR.
The text was updated successfully, but these errors were encountered: