
It is unnecessary to add octavia user into admin project. Octavia project does not require this action. Like other projects, octavia user in service project with admin role is enough. [1] https://docs.openstack.org/octavia/latest/install/install-ubuntu.html [2] https://docs.openstack.org/octavia/latest/contributor/guides/dev-quick-start.html#production-deployment-walkthrough [3] https://github.com/openstack/octavia/blob/master/devstack/plugin.sh Closes-Bug: #1873176 Change-Id: I35d35177aaabfc6f0abc533a1f756b363bd02308 (cherry picked from commit bb7e1e86601d46d1d12620ec44993c493bb923fe)
22 lines
537 B
YAML
22 lines
537 B
YAML
---
|
|
- include_tasks: "config.yml"
|
|
|
|
- include_tasks: "bootstrap_service.yml"
|
|
|
|
- name: Flush handlers
|
|
meta: flush_handlers
|
|
|
|
# TODO(mgoddard): Remove this task in Victoria.
|
|
- name: Removing octavia user from admin project
|
|
become: true
|
|
kolla_toolbox:
|
|
module_name: "os_user_role"
|
|
module_args:
|
|
user: "{{ octavia_keystone_user }}"
|
|
role: admin
|
|
state: absent
|
|
project: "{{ keystone_admin_project }}"
|
|
auth: "{{ openstack_octavia_auth }}"
|
|
endpoint_type: "{{ openstack_interface }}"
|
|
run_once: True
|