From 691a934297d60e70768e69f42b53fdb348e44442 Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 7 Aug 2021 17:23:15 -0500 Subject: [PATCH] Genericize the inclusion of libraspberrypi-bin --- inventory/hosts.yml | 2 ++ playbooks/pis.yml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/inventory/hosts.yml b/inventory/hosts.yml index b1845fa..8a90fe3 100644 --- a/inventory/hosts.yml +++ b/inventory/hosts.yml @@ -11,5 +11,7 @@ api_endpoint: "https://netbox.desu.ltd" group_by: - device_roles - tags + - device_types + - manufacturers device_query_filters: - has_primary_ip: "true" diff --git a/playbooks/pis.yml b/playbooks/pis.yml index fb1ac39..9866c0a 100755 --- a/playbooks/pis.yml +++ b/playbooks/pis.yml @@ -2,9 +2,9 @@ # vim:ft=ansible: --- # General configuration -- hosts: tags_pis +- hosts: manufacturers_raspi tasks: - - name: install basic packages + - name: install raspi packages apt: name: - libraspberrypi-bin