summaryrefslogtreecommitdiffstats
path: root/ansible_collections/cisco/meraki/playbooks/device_statuses.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible_collections/cisco/meraki/playbooks/device_statuses.yml')
-rw-r--r--ansible_collections/cisco/meraki/playbooks/device_statuses.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/ansible_collections/cisco/meraki/playbooks/device_statuses.yml b/ansible_collections/cisco/meraki/playbooks/device_statuses.yml
new file mode 100644
index 000000000..184379110
--- /dev/null
+++ b/ansible_collections/cisco/meraki/playbooks/device_statuses.yml
@@ -0,0 +1,16 @@
+---
+
+- hosts: localhost
+ vars:
+ organization_id: 828099381482762270
+ gather_facts: false
+ tasks:
+
+ - name: Get all organization's devices statuses
+ cisco.meraki.organizations_devices_statuses_info:
+ organizationId: "{{ organization_id }}"
+ register: result
+
+ - name: Show result
+ ansible.builtin.debug:
+ msg: "{{ result }}"