Skip to content

Commit

Permalink
fix upgrade managment via orchestrator_upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
jsecchiero committed Oct 10, 2018
1 parent b2204c1 commit b7ef13f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ orchestrator_create_image: "{{ global_create_image | default(false) }}"
orchestrator_download_src: https://github.com/github/orchestrator/releases/download
orchestrator_version: 3.0.10
orchestrator_install_via_packagecloud: false
orchestrator_upgrade_if_older_version: false
orchestrator_upgrade: false
orchestrator_is_server: true

orchestrator_home_dir: /opt/orchestrator
Expand Down
2 changes: 1 addition & 1 deletion tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
file:
path: "{{ orchestrator_installed_file }}"
state: absent
when: orchestrator_upgrade_if_older_version
when: orchestrator_upgrade

- name: orchestrator | install | download and unpack orchestrator
unarchive:
Expand Down
2 changes: 1 addition & 1 deletion vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ orchestrator_packages:
- orchestrator
- orchestrator-cli

orchestrator_install_dir: "{{ orchestrator_home_dir }}/orchestrator-{{ orchestrator_version }}"
orchestrator_install_dir: "{{ orchestrator_home_dir }}/orchestrator"

orchestrator_src: "{{ orchestrator_download_src }}/v{{ orchestrator_version }}/orchestrator-{{ orchestrator_version }}-linux-amd64.tar.gz"

Expand Down

0 comments on commit b7ef13f

Please sign in to comment.