ansibleplaybookbundle / ansible-playbook-bundle

THIS REPO IS MIGRATING: https://github.com/automationbroker/apb
GNU General Public License v2.0
140 stars 70 forks source link

Bug 1581629 - Fix apb relist --secure --ca-path #299

Closed dymurray closed 6 years ago

dymurray commented 6 years ago

If you look at the BZ, apb relist --ca-path <ca_file> would succeed while apb relist --secure --ca-path <ca_file> would fail. This is because line 441 (446 in new code) was passing the boolean value of --secure as opposed to the CA path. I moved the conditional check higher up in the relist function to prevent this.