Revert "Disable openldap CA cert installation for upgrade"

This reverts commit 6a704b12b8.
This breaks system deployment.

Signed-off-by: Andy Ning <andy.ning@windriver.com>
Change-Id: I3be9a666d097a87fd268dcb091f5505b70d39242
This commit is contained in:
Andy Ning 2022-10-05 09:21:16 -04:00
parent 6a704b12b8
commit 44db9dea36
1 changed files with 1 additions and 3 deletions

View File

@ -41,9 +41,7 @@ def create_openldap_certificate():
"""
playbooks_root = '/usr/share/ansible/stx-ansible/playbooks'
upgrade_script = 'create-openldap-certificate-for-upgrade.yml'
# TODO(aning): remove the extra-vars option
cmd = 'ansible-playbook -e install_ca_cert=no {}/{}'.format(
playbooks_root, upgrade_script)
cmd = 'ansible-playbook {}/{}'.format(playbooks_root, upgrade_script)
sub = subprocess.Popen(cmd, shell=True,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout, stderr = sub.communicate()