openstack-ansible/rpc_deployment/roles/raxmon_cli/templates/raxrc.j2
2014-08-26 18:08:15 -05:00

18 lines
291 B
Django/Jinja

{% if maas_auth_method == "password" %}
[credentials]
username={{ maas_username }}
api_key={{ maas_api_key }}
[auth_api]
url={{ maas_auth_url }}/tokens
{% endif %}
{% if maas_auth_method == "token" %}
[api]
url={{ maas_api_url }}
token={{ maas_auth_token }}
{% endif %}
[ssl]
verify=true