Skip to content

Commit

Permalink
Debian and Ubuntu update apt cache when adding repositories.
Browse files Browse the repository at this point in the history
  • Loading branch information
steenzout committed Sep 9, 2015
1 parent 978cbcc commit bc07253
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ is always nice for users too:

## Changelog

- v3.7.2 : 9 Sep 2015
- Debian and Ubuntu update apt cache when adding repositories
- v3.7.0 : 10 Jul 2015
- don't update the apt repositories cache when you're just adding new repos since it will get updated in the end
- minor version number will now match primogen major version number
Expand Down
4 changes: 2 additions & 2 deletions tasks/os_distribution/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
- name: ensure the webupd8 launchpad apt repository is present
apt_repository:
repo="deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main"
update_cache=no
update_cache=yes
state=present
sudo: yes

- name: ensure the webupd8 launchpad source apt repository is present
apt_repository:
repo="deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main"
update_cache=no
update_cache=yes
state=present
sudo: yes
2 changes: 1 addition & 1 deletion tasks/os_distribution/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
- name: ensure the webupd8 launchpad apt repository is present
apt_repository:
repo=ppa:webupd8team/java
update_cache=no
update_cache=yes
state=present
sudo: yes

0 comments on commit bc07253

Please sign in to comment.