summaryrefslogtreecommitdiff
path: root/roles/raspios/image
diff options
context:
space:
mode:
Diffstat (limited to 'roles/raspios/image')
-rw-r--r--roles/raspios/image/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/raspios/image/tasks/main.yml b/roles/raspios/image/tasks/main.yml
index 95fd1407..e7e0cbba 100644
--- a/roles/raspios/image/tasks/main.yml
+++ b/roles/raspios/image/tasks/main.yml
@@ -1,4 +1,10 @@
---
+- name: check if host is member of the raspios group
+ assert:
+ msg: "please add the host to the group 'raspios'"
+ that:
+ - "'raspios' in group_names"
+
- name: fetch os list from download server
check_mode: no
uri: