Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Version bump to 3.1.0 #215

Merged
merged 3 commits into from
Jan 31, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ component of Pulp. The roles are not currently available on Ansible Galaxy; to r
Ansible installer, the [ansible-pulp](https://github.com/pulp/ansible-pulp) git repository must
be cloned or downloaded.

This version of the installer, 3.0.1-1, installs Pulp 3.0.1 specifically.
This version of the installer, 3.1.0, installs Pulp 3.1.0 specifically.

If run against an older version of Pulp 3, it will upgrade it to 3.0.1.
If run against an older version of Pulp 3, it will upgrade it to 3.1.0.

System Requirements
-------------------
Expand Down
2 changes: 1 addition & 1 deletion roles/pulp/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pulp_upgrade: false
# they are confident that this version of ansible-pulp is compatible with
# pulp_version.
# Ignored if pulp_source_dir is set
pulp_version: "3.0.1"
pulp_version: "3.1.0"
pulp_user: pulp
pulp_user_id:
pulp_group: pulp
Expand Down
2 changes: 1 addition & 1 deletion roles/pulp/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@
name: '{{ item.key }}'
# item.upgrade true/false -> ansible pip module latest/present ->
# pip command "install --upgrade"/"install"
state: "{{ item.upgrade | default(false) | ternary('latest','present','present') }}"
state: "{{ item.value.upgrade | default(false) | ternary('latest','present','present') }}"
# TODO: Handle the fact that "version is incompatible with state=latest"
# through proper means, rather than just telling users not to set both.
version: '{{ item.value.version | default(omit) }}'
Expand Down