ara
ara copied to clipboard
ara cli client config file and switch to read ansible.cfg
What is the idea ?
Provides a way to configure ara cli client with a config file. And a switch to read ansible.cfg if user asks for it like, for exemple
~/.config/ara/config
api_client = http
api_server = https://api.domain.com/
api_username = ansible
api_password = **************
api_timeout = 15
OR
/etc/ansible/ansible.cfg
[ara]
api_client = http
api_server = https://api.domain.com/
api_username = ansible
api_password = **************
api_timeout = 15
with
~/.config/ara/config
# Autodetect /etc/ansible/ansible.cfg file
api_ansible_config = true
# Provide a way to force the file
api_ansible_config_file = /root/ansible-ara.cfg