From 822540ac77f86e4691af7716327bde83566c8ed9 Mon Sep 17 00:00:00 2001 From: Rei Oliveira Date: Fri, 5 Aug 2022 16:22:30 -0300 Subject: [PATCH] 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 Change-Id: Ic4d6b4c4df21584117f258d9a61ea52cd55b730a --- .../bootstrap/install-platform-certificates/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbookconfig/src/playbooks/roles/bootstrap/install-platform-certificates/tasks/main.yml b/playbookconfig/src/playbooks/roles/bootstrap/install-platform-certificates/tasks/main.yml index a49e383b7..a1ae06bc0 100644 --- a/playbookconfig/src/playbooks/roles/bootstrap/install-platform-certificates/tasks/main.yml +++ b/playbookconfig/src/playbooks/roles/bootstrap/install-platform-certificates/tasks/main.yml @@ -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