Skip to content

Commit

Permalink
Temporary fixing SSL/TLS issue
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Jan 1, 2025
1 parent 3f4d9f4 commit 37012d9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ansible/roles/ovos_installer/tasks/virtualenv/venv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
name: tflite_runtime
virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos"
virtualenv_command: "{{ ansible_python.executable }} -m venv"
extra_args: "-f 'https://whl.smartgic.io'"
extra_args: "--trusted-host whl.smartgic.io -f 'https://whl.smartgic.io'"
when: ovos_installer_cpu_is_capable | bool

- name: Create {{ ovos_installer_user_home }}/.venvs/ovos Python venv without tflite_runtime
Expand All @@ -62,7 +62,7 @@
ansible.builtin.pip:
name: ggwave
virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos"
extra_args: "-f 'https://whl.smartgic.io'"
extra_args: "--trusted-host whl.smartgic.io -f 'https://whl.smartgic.io'"
when: ansible_architecture == "aarch64" or ansible_architecture == "x86_64"

- name: Install Open Voice OS in Python venv
Expand Down
1 change: 1 addition & 0 deletions ansible/roles/ovos_installer/telemetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
until: _push_telemetry_data.status == 200
retries: 5
delay: 3
validate_certs: false
rescue:
- name: Rescue telemetry
ansible.builtin.debug:
Expand Down
2 changes: 1 addition & 1 deletion utils/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ function setup_avrdude() {
rm "$AVRDUDE_BINARY_PATH"
fi

curl -s -f -L "$AVRDUDE_BINARY_URL" -o "$AVRDUDE_BINARY_PATH" &>>"$LOG_FILE"
curl -s -f -L --insecure "$AVRDUDE_BINARY_URL" -o "$AVRDUDE_BINARY_PATH" &>>"$LOG_FILE"
chmod 0755 "$AVRDUDE_BINARY_PATH" &>>"$LOG_FILE"

cat <<EOF >"$RUN_AS_HOME/.avrduderc"
Expand Down

0 comments on commit 37012d9

Please sign in to comment.