{{ provider_name }}: provider: {{ provider.engine }} {%- if provider.insecure is defined %} insecure: true {%- endif %} identity_url: '{{ provider.identity_url }}' {%- if provider.compute_name is defined %} compute_name: {{ provider.get('compute_name', 'nova') }} {%- endif %} protocol: ipv4 compute_region: {{ provider.region }} tenant: {{ provider.tenant }} user: {{ provider.user }} {%- if provider.api_key is defined %} apikey: {{ provider.api_key }} {%- elif provider.password is defined %} password: {{ provider.password }} {%- endif %} ssh_key_name: salt-cloud ssh_key_file: /root/.ssh/id_rsa ssh_interface: {{ provider.get('interface', 'private') }}_ips networks: - fixed: {%- for net in provider.fixed_networks %} - {{ net }} {%- endfor %} - floating: {%- for net in provider.floating_networks %} - {{ net }} {%- endfor %} {%- if provider.ignore_cidr is defined %} ignore_cidr: {{ provider.ignore_cidr }} {%- endif %}