Merge "Revert "Disable openldap CA cert installation for upgrade""

This commit is contained in:
Zuul 2022-10-05 15:48:50 +00:00 committed by Gerrit Code Review
commit eb3b253ee5
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()