Meraki with ansible
I got the api key from meraki. Ansible core installed on 8.7 with ansible-galaxy install cisco.meraki module.
ansible [core 2.13.3]
config file = /home/ansible/meraki/ansible.cfg
configured module search path = ['/home/ansible/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.9/site-packages/ansible
ansible collection location = /home/ansible/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/bin/ansible
python version = 3.9.13 (main, Nov 9 2022, 13:16:24) [GCC 8.5.0 20210514 (Red Hat 8.5.0-15)]
jinja version = 3.1.2
libyaml = True
When I do simple task in my playbook like below:
- name: 1st play
Hosts: localhost
Task:- name: Query information about all organizations associated to the user
meraki_organization:
auth_key: abc12345
state: query
delegate_to: localhost
- name: Query information about all organizations associated to the user
I got no result on my end.
Although I have create one using yml file but it's seem failed as well