-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Hi, I'm playing a bit with yours tool and it's really useful, thanks.
However I found, some use case which will be nice to improve IMO.
Let's assume that while run edb-deployment configure, unfortunately we provide typo in password. We realized that when we run ansible playbook, which fails. We change our user:password in ansible_vars.json. In second run we get
Failed to download metadata for repo 'edb': Cannot download repomd.xml.All because wrong initial configuration.
Original playbook has this option called force_install https://github.com/EnterpriseDB/edb-ansible/blob/master/roles/setup_repo/defaults/main.yml#L26. I will be nice to have it in yours tool.
The simplest solution will be adding in line 615 of file postgres-deployment/edbdeploy/project.py
force_install=self.ansible_vars['force_install']But it require manual change in ansible_vars. Maybe it should be managed via --force flag in edb-deployment deploy ? I'd like to know your opinion about that before implementation.