Skip to content

Add possibilty to force install components #132

@3sky

Description

@3sky

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions