src.nth.io/

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-01-11 18:09:32 -0600
committerLuke Hoersten <[email protected]>2020-01-11 18:09:32 -0600
commit247670f0d69b3269f88630071b246d38238f26ca (patch)
tree3811f596894a0f876093484c73bed15ae71155ba
parent88efbff3a4720090be9ec97034a34fa7731d66e7 (diff)
Updated to latest ansible syntax for lists.
-rw-r--r--roles/automationhat/tasks/main.yaml3
-rw-r--r--roles/hap-nodejs/tasks/main.yaml3
2 files changed, 2 insertions, 4 deletions
diff --git a/roles/automationhat/tasks/main.yaml b/roles/automationhat/tasks/main.yaml
index 7e9d6c6..0e08058 100644
--- a/roles/automationhat/tasks/main.yaml
+++ b/roles/automationhat/tasks/main.yaml
@@ -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
diff --git a/roles/hap-nodejs/tasks/main.yaml b/roles/hap-nodejs/tasks/main.yaml
index e56fae8..f83a4da 100644
--- a/roles/hap-nodejs/tasks/main.yaml
+++ b/roles/hap-nodejs/tasks/main.yaml
@@ -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