Merge "Limit dcmanager related tasks to bootstrap mode"

This commit is contained in:
Zuul 2024-04-25 20:40:17 +00:00 committed by Gerrit Code Review
commit e5dba2566b
2 changed files with 2 additions and 2 deletions

View File

@ -340,7 +340,7 @@
command: psql -d keystone -c "update public.project set
id='{{ system_controller_keystone_services_project_id }}' where name='services'"
become_user: postgres
when: distributed_cloud_role == 'subcloud'
when: distributed_cloud_role == 'subcloud' and mode == 'bootstrap'
- name: Import fm bootstrap tasks
import_tasks: fm_bootstrap.yml

View File

@ -96,7 +96,7 @@
public.user.id=public.local_user.user_id and
public.local_user.name='dcmanager'"
become_user: postgres
when: distributed_cloud_role == 'subcloud'
when: distributed_cloud_role == 'subcloud' and mode == 'bootstrap'
# If this is initial play or replay with management and/or oam network
# config change, must wait for the keystone endpoint runtime manifest