Updated to latest ansible syntax for lists.
authorLuke Hoersten <luke@hoersten.org>
Sat, 11 Jan 2020 18:09:32 -0600
changeset 25 bc6c646f1814
parent 24 bba43c5fbf59
child 26 87ddaf81e63c
Updated to latest ansible syntax for lists.
roles/automationhat/tasks/main.yaml
roles/hap-nodejs/tasks/main.yaml
--- 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