Skip to content

Commit

Permalink
[ansible] Closes #23
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Nov 29, 2023
1 parent d1efcb1 commit 4a10ec3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion ansible/roles/ovos_installer/templates/mycroft.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"play_wav_cmdline": "aplay %1",
"play_mp3_cmdline": "pw-play %1",
"lang": "en-us",
"lang": "{{ ovos_installer_locale }}",
{% if not ovos_installer_cpu_is_capable | bool %}
"hotwords": {
"hey_mycroft": {
Expand Down Expand Up @@ -37,5 +37,14 @@
{% endif %}
"websocket": {
"max_msg_size": {{ 100 if ovos_installer_feature_gui | bool and ovos_installer_method == "containers" else 25 }}
},
"tts": {
"ovos-tts-plugin-server": {
{% if ovos_installer_locale == "en-us" %}
"voice": "ryan-high"
{% elif ovos_installer_locale == "fr-fr" %}
"voice": "siwis-medium"
{% endif %}
}
}
}
1 change: 1 addition & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ unbuffer ansible-playbook -i 127.0.0.1, ansible/site.yml \
-e "ovos_installer_cleaning=${ansible_cleaning}" \
-e "ovos_installer_display_server=${DISPLAY_SERVER}" \
-e "ovos_installer_telemetry=${SHARE_TELEMETRY}" \
-e "ovos_installer_locale=${LOCALE}" \
"${ansible_tags[@]}" "${ansible_debug[@]}" | tee -a "$LOG_FILE"

# Retrieve the ansible-playbook status code before tee command and check for success or failure
Expand Down

0 comments on commit 4a10ec3

Please sign in to comment.