Files
kolla-ansible/ansible/roles/kuryr/tasks/register.yml
Eduardo Gonzalez 56374206be Fix deployment with public TLS enabled
When deploying with tls enabled in public
endpoints, ansible modules fails due SSL certificates
are self-signed.

This change adds a new variable to allow customization
on which endpoints ansible should connect.
Defaults to admin because admin auth parameters defaults
to admin endpoint.

Change-Id: Ic3ed58cf9c9579cae08a11bbfe6fce983b5a9cbc
Closes-Bug: #1720995
2017-10-05 08:36:34 +00:00

16 lines
505 B
YAML

---
- name: Creating the Kuryr project, user, and role
kolla_toolbox:
module_name: "kolla_keystone_user"
module_args:
project: "service"
user: "{{ kuryr_keystone_user }}"
password: "{{ kuryr_keystone_password }}"
role: "admin"
region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_kuryr_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars:
openstack_kuryr_auth: "{{ openstack_kuryr_auth }}"
run_once: True