kolla-ansible/ansible/roles/octavia/tasks/upgrade.yml
Xing Zhang bb7e1e8660 Remove octavia user from admin project
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
2020-04-17 09:50:33 +00:00

23 lines
576 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 }}"
cacert: "{{ openstack_cacert }}"
run_once: True