summaryrefslogtreecommitdiffstats
path: root/ansible_collections/cisco/meraki/playbooks/What_Org.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible_collections/cisco/meraki/playbooks/What_Org.yaml')
-rw-r--r--ansible_collections/cisco/meraki/playbooks/What_Org.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/ansible_collections/cisco/meraki/playbooks/What_Org.yaml b/ansible_collections/cisco/meraki/playbooks/What_Org.yaml
new file mode 100644
index 000000000..d1217d293
--- /dev/null
+++ b/ansible_collections/cisco/meraki/playbooks/What_Org.yaml
@@ -0,0 +1,12 @@
+---
+- hosts: meraki_servers
+ gather_facts: false
+ tasks:
+ - name: Get all Organizations
+ cisco.meraki.organizations_info:
+ meraki_suppress_logging: true
+ register: result
+
+ - name: Show current Meraki administrator
+ ansible.builtin.debug:
+ msg: "{{ result | json_query('meraki_response[*].name') }}" \ No newline at end of file