Forum Discussion

JGJG's avatar
2 years ago
Solved

Ansible lm_info devices by group

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...
  • JGJG's avatar
    2 years ago

    Just to provide closure, I simply wrote a python script that takes parameters, passed in a value from a previous ansible step and registered the output from the python script to use in subsequent steps.

    Not as streamlined as using straight Ansible, but it got the job done.

    Thanks for all of the comments.

    Have a great weekend