Hello All,
I am trying to achieve a similar result in Ansible using the LogicMonitor collections modules as I can get with the Rest API using python.
Using rest, I can do something like:
{{url}}/device/groups/{{group_id}}/devices
and I will get a list of all devices for the group specified in ‘group_id’.
I am trying to get the same result using the ansible lm_info module but no luck.
I am not trying to perform any action - just return the info.
I tried using full_path to narrow the device results down but I still get all devices instead of those associated with the group (this is not a collector group but a device group). The group parameter is not supported for lm_info with a target: device but full_path is supposed to be supported.
I am reluctant to even post this question because I am probably missing something really simple 🙄 but …
Thanks in advance
Best answer by JGJG
View original