Skip to content

Commit

Permalink
Sets always_run on second pip version check
Browse files Browse the repository at this point in the history
Necessary to support --check mode when setting pip_version to "latest".
  • Loading branch information
conorsch committed Feb 21, 2016
1 parent 3783c01 commit 441b2e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
shell: "{{ pip }} --version | awk '{print $2}'"
register: pip_installed_version
changed_when: false
always_run: true # for check mode
when: pip_version != None or pip_version != "LATEST"

- name: Install required version of pip.
Expand Down

0 comments on commit 441b2e7

Please sign in to comment.