Project

Profile

Help

Issue #6669

Updated by mdepaulo@redhat.com over 4 years ago

This is a commonly reported issue by users. 

 If a user specifies both the `version` and `upgrade` vars for a plugin under `pulp_install_plugins`, pulp_installer fails. 

 (This might be only when the upgrade var is set to true). 

 This is because even though a command like `pip install --upgrade pulp-file=0.3.0` pulp-file=0.3.0" is valid, the ansible pip module refuses to let you specify `version` and `state=latest` (state=latest maps to `pip --upgrade`, and to our `upgrade: true`). 

 I was hoping that specifying both would upgrade all dependencies. 

 We should probably address this omitting or specifying false for `upgrade` if `version` is set. 

 Make sure to update the pulp role's README.md for this.

Back