
Admin token has been deprecated upstream. It will be removed in O. We switch over to the new `keystone-manage bootstrap` method for creating the initial admin user, role, and project. Co-Authored-By: Sam Yaple <sam@yaple.net> Change-Id: I6ca90e8d4c3b71009e24b049b2efbc08c05ebfbf
8 lines
527 B
YAML
8 lines
527 B
YAML
---
|
|
- name: Creating admin project, user, role, service, and endpoint
|
|
command: docker exec -t keystone kolla_keystone_bootstrap {{ openstack_auth.username }} {{ openstack_auth.password }} {{ openstack_auth.project_name }} admin {{ keystone_admin_url }} {{ keystone_internal_url }} {{ keystone_public_url }} {{ openstack_region_name }}
|
|
register: keystone_bootstrap
|
|
changed_when: "{{ (keystone_bootstrap.stdout | from_json).changed }}"
|
|
failed_when: "{{ (keystone_bootstrap.stdout | from_json).failed }}"
|
|
run_once: True
|