Skip to content

Commit

Permalink
[devkit] Sanitize JSON list
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed May 17, 2024
1 parent 515b14d commit 84ee6dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/ovos_hardware_mark2/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

- name: Include touchscreen.yml
ansible.builtin.import_tasks: touchscreen.yml
when: ovos_installer_i2c_devices in ["attiny1614"]
when: "'attiny1614' in ovos_installer_i2c_devices"

- name: Include wireplumber.yml
ansible.builtin.import_tasks: wireplumber.yml
1 change: 1 addition & 0 deletions ansible/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

vars:
ovos_installer_reboot: false
ovos_installer_i2c_devices: "{{ ovos_installer_i2c_devices | from_json }}"

pre_tasks:
- name: Gather reduced subset of facts
Expand Down

0 comments on commit 84ee6dc

Please sign in to comment.