Skip to content

Commit

Permalink
Merge pull request #4126 from freedomofpress/fix-upgrade-scenario
Browse files Browse the repository at this point in the history
Fix upgrade scenario
  • Loading branch information
heartsucker authored Feb 12, 2019
2 parents c8db4a7 + 2b5aefe commit 8ebbfdb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions molecule/upgrade/ansible-override-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ monitor_ip: "{{ hostvars['mon-staging']['ansible_'+primary_network_iface].ipv4.a
monitor_hostname: "{{ hostvars['mon-staging'].ansible_hostname }}"
app_ip: "{{ hostvars['app-staging']['ansible_'+primary_network_iface].ipv4.address }}"
app_hostname: "{{ hostvars['app-staging'].ansible_hostname }}"
tor_apt_repo_url: "https://tor-apt.freedom.press"

etc_hosts:
app-staging:
Expand Down
2 changes: 1 addition & 1 deletion molecule/upgrade/local_apt_with_debs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

- name: Copy over debs
synchronize:
src: "{{ molecule_dir }}/../../build/"
src: "{{ molecule_dir }}/../../build/trusty/"
dest: /var/repos/debs/
delete: yes

Expand Down
2 changes: 1 addition & 1 deletion molecule/upgrade/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

- name: Find local deb files
find:
paths: "{{ molecule_dir }}/../../build/"
paths: "{{ molecule_dir }}/../../build/trusty/"
patterns: "*.deb"
register: _upgrade_scenario_find_debs_result
when: not QA_APTTEST
Expand Down

0 comments on commit 8ebbfdb

Please sign in to comment.