summaryrefslogtreecommitdiffstats
path: root/ansible_collections/cisco/meraki/playbooks/What_Org.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-18 05:52:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-18 05:52:22 +0000
commit38b7c80217c4e72b1d8988eb1e60bb6e77334114 (patch)
tree356e9fd3762877d07cde52d21e77070aeff7e789 /ansible_collections/cisco/meraki/playbooks/What_Org.yaml
parentAdding upstream version 7.7.0+dfsg. (diff)
downloadansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.tar.xz
ansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.zip
Adding upstream version 9.4.0+dfsg.upstream/9.4.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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