codeaffen / phpipam-ansible-modules

Ansible Modules to manage phpIPAM installations
https://codeaffen.org/projects/phpipam-ansible-modules
GNU General Public License v3.0
22 stars 10 forks source link

provide environment variable support for connection data #70

Closed cmeissner closed 2 years ago

cmeissner commented 2 years ago

Is your feature request related to a problem? Please describe.

Currently you can define connection parameters only within a task definition. Sometimes it will be useful to provide connection data via environment variables (e.g. overriding certificate checking in test environments).

Describe the solution you'd like

phpipam_helper.py needs to updated to use env_fallback and fallback for connection parameters.