summaryrefslogtreecommitdiffstats
path: root/ansible_collections/cisco/meraki/playbooks/What_Org.yaml
blob: d1217d2934b44f5e2754372816a6e8ad5822e130 (plain)
1
2
3
4
5
6
7
8
9
10
11
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') }}"