Skip to content

Commit bea21d2

Browse files
committed
Changed the order of installation of the Google Chrome key and repositories
1 parent d2f973f commit bea21d2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ansible/install-apps.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
path: "/etc/apt/sources.list.d/google-chrome.list"
88
register: google_apt_exists
99
ignore_errors: yes
10+
- name: Add Google Chrome key
11+
apt_key:
12+
url: https://dl-ssl.google.com/linux/linux_signing_key.pub
13+
state: present
1014
- name: Add Google Chrome directory
1115
apt_repository:
1216
repo: "{{ item }}"
1317
state: present
1418
loop:
1519
- "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main"
1620
- "deb http://dl.google.com/linux/chrome/deb/ stable main"
17-
- name: Add Google Chrome key
18-
apt_key:
19-
url: https://dl-ssl.google.com/linux/linux_signing_key.pub
20-
state: present
2121
- name: Install apps
2222
apt:
2323
update_cache: yes

0 commit comments

Comments
 (0)