Files
kolla-ansible/ansible/roles/kuryr/tasks/register.yml
Jeffrey Zhang 8155d74d8d Refactor register.yml files
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Change-Id: I9a4a6b6523dee4b388513386b7d85d421f2b7b89
2017-01-26 17:10:27 +00:00

19 lines
532 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 }}' }}"
module_extra_vars:
openstack_kuryr_auth: "{{ openstack_kuryr_auth }}"
register: kuryr_user
until: kuryr_user|success
retries: 10
delay: 5
run_once: True