Updated to latest ansible syntax for lists.
--- a/roles/automationhat/tasks/main.yaml Sun Dec 01 12:59:22 2019 -0600
+++ b/roles/automationhat/tasks/main.yaml Sat Jan 11 18:09:32 2020 -0600
@@ -4,8 +4,7 @@
- name: install automationhat apt packages
become: yes
- apt: name="{{item}}"
- with_items: "{{automationhat_apt_packages}}"
+ apt: name="{{automationhat_apt_packages}}"
- name: configure i2c boot config
become: yes
--- a/roles/hap-nodejs/tasks/main.yaml Sun Dec 01 12:59:22 2019 -0600
+++ b/roles/hap-nodejs/tasks/main.yaml Sat Jan 11 18:09:32 2020 -0600
@@ -13,8 +13,7 @@
- name: install homekit apt packages
become: yes
- apt: name="{{item}}"
- with_items: "{{hap_apt_packages}}"
+ apt: name="{{hap_apt_packages}}"
notify: restart hap-nodejs service
- name: download and unarchive HAP-NodeJS