Skip to content

Commit 6813d43

Browse files
authored
Defer update_cache: yes to apt task
Because `apt_repository` task skips `apt-get update` if repo is already added
1 parent bda279d commit 6813d43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
- name: Configure the New Relic apt repository
77
apt_repository:
88
repo: 'deb http://apt.newrelic.com/debian/ newrelic non-free'
9-
update_cache: yes
109

1110
- name: Install the PHP agent
1211
apt:
1312
name: newrelic-php5
1413
state: latest
14+
update_cache: yes

0 commit comments

Comments
 (0)