Merge "Limit dcmanager related tasks to bootstrap mode"
This commit is contained in:
commit
e5dba2566b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue