I was able to parse the ansible.cfg file using "ansible.module_utils.six.moves import configparser" and pull the values I am looking for. Now I just need a way to pull the remote_addr variable so I would not need to pass in the server: option from the task.configparser examples = https://wiki.python.org/moin/ConfigParserExamples
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/32cfedc7-0fc0-4567-9f05-abfe7dce9e4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.