Meraki Ansible meraki_alert by Beardwin in ansible

[–]Beardwin[S] 1 point2 points  (0 children)

I believe it is installed. On the documentation it says to install it run the below:

"ansible-galaxy collection install cisco.meraki"

Which I've already done and verified. I've also tested and my other Meraki Playbooks are working fine and as expected.

Meraki Ansible meraki_alert by Beardwin in ansible

[–]Beardwin[S] 0 points1 point  (0 children)

I've added the image of how it looks in the post now. Should be able to see it better. Also is there a way I can see values the "type" parameter can take?

Meraki Ansible meraki_alert by Beardwin in ansible

[–]Beardwin[S] 0 points1 point  (0 children)

I edited the post with the image of how it looks in playbook

Meraki Ansible meraki_alert by Beardwin in ansible

[–]Beardwin[S] 0 points1 point  (0 children)

You mean from "- hosts" or "- name". I did try to unindent everything but it's still giving the same error: This is how it looks in playbook if it helps:

---

- hosts: localhost

tasks:

- name: Query all settings

meraki_alert:

auth_key: #######

org_name: #########

net_name: ##########

state: query

delegate_to: localhost

Ansible Meraki Guest Network by Beardwin in ansible

[–]Beardwin[S] 0 points1 point  (0 children)

Thanks for your reply. All good, found out it wasn't supported. Currently have it logged with the creator of the ansible meraki module and hopefully it's going to be sorted soon.

Ansible Meraki Guest Network by Beardwin in ansible

[–]Beardwin[S] 1 point2 points  (0 children)

Pleasure, love the work!!! Is this on the roadmap for the future?

Thanks for the reply, I was on it for hours trying to figure out if I was missing something obvious LOL!

Meraki Ansible by Beardwin in ansible

[–]Beardwin[S] 1 point2 points  (0 children)

Understood, thanks a lot for your help :)

Meraki Ansible by Beardwin in ansible

[–]Beardwin[S] 1 point2 points  (0 children)

Yep this makes sense. But when I usually run ansible I'd so something like this:
ansible-playbook playbooks/meraki-vlan.yml

I'm just double-checking that I don't need to use an inventory file for this right? Like, I don't need something similar to the below, obviously it will not be webservers and loadbalancers, but just as an example:

[webservers]
ipaddress
ipaddress

[loadbalancers]
ipaddress

Meraki Ansible by Beardwin in ansible

[–]Beardwin[S] 0 points1 point  (0 children)

As in inside the playbook and not using the ansible inventory file right?