Skip to content

Commit bc07253

Browse files
committed
Debian and Ubuntu update apt cache when adding repositories.
1 parent 978cbcc commit bc07253

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ is always nice for users too:
5252

5353
## Changelog
5454

55+
- v3.7.2 : 9 Sep 2015
56+
- Debian and Ubuntu update apt cache when adding repositories
5557
- v3.7.0 : 10 Jul 2015
5658
- don't update the apt repositories cache when you're just adding new repos since it will get updated in the end
5759
- minor version number will now match primogen major version number

tasks/os_distribution/debian.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
- name: ensure the webupd8 launchpad apt repository is present
1616
apt_repository:
1717
repo="deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main"
18-
update_cache=no
18+
update_cache=yes
1919
state=present
2020
sudo: yes
2121

2222
- name: ensure the webupd8 launchpad source apt repository is present
2323
apt_repository:
2424
repo="deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main"
25-
update_cache=no
25+
update_cache=yes
2626
state=present
2727
sudo: yes

tasks/os_distribution/ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
- name: ensure the webupd8 launchpad apt repository is present
99
apt_repository:
1010
repo=ppa:webupd8team/java
11-
update_cache=no
11+
update_cache=yes
1212
state=present
1313
sudo: yes

0 commit comments

Comments
 (0)