Create openldap cert for standalone systems

This commit enables the creation of openldap certificate in standalone
systems in the same fashion as done for system controllers

Test Plan:

PASS: On a DC system (centos only), verify that the bootstrap.yml
      playbook works for 'dcmanager subcloud add'
PASS: On a DC system (centos only), verify that the openldap certificate
      is created on the system controller but not on subclouds
PASS: Verified that the bootstrap.yml playbook can be re-played
      multiple times without error
PASS: On a standalone system, verify that the bootstrap.yml playbook
      is able to create the openldap certificate

Story: 2009834
Task: 45774

Signed-off-by: Rei Oliveira <Reinildes.JoseMateusOliveira@windriver.com>
Change-Id: Ic4d6b4c4df21584117f258d9a61ea52cd55b730a
This commit is contained in:
Rei Oliveira 2022-08-05 16:22:30 -03:00 committed by Reinildes Oliveira
parent 8c3191f8b8
commit 822540ac77

View File

@ -34,7 +34,7 @@
- name: Set which platform certificates to install
set_fact:
install_oidc_auth_apps_certificate: false
install_system_open_ldap_certificate: "{{ true if distributed_cloud_role.stdout == 'systemcontroller' else false }}"
install_system_open_ldap_certificate: "{{ true if distributed_cloud_role.stdout != 'subcloud' else false }}"
install_system_registry_local_certificate: false
install_system_restapi_gui_certificate: false