Skip to content

Commit 4098dd5

Browse files
committed
Удалены ненужные модули, улучшена читабельность кода
1 parent bea21d2 commit 4098dd5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

ansible/install-apps.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
hosts: all
44
become: yes
55
tasks:
6-
- stat:
7-
path: "/etc/apt/sources.list.d/google-chrome.list"
8-
register: google_apt_exists
9-
ignore_errors: yes
106
- name: Add Google Chrome key
117
apt_key:
128
url: https://dl-ssl.google.com/linux/linux_signing_key.pub
@@ -16,8 +12,8 @@
1612
repo: "{{ item }}"
1713
state: present
1814
loop:
19-
- "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main"
20-
- "deb http://dl.google.com/linux/chrome/deb/ stable main"
15+
- "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main"
16+
- "deb http://dl.google.com/linux/chrome/deb/ stable main"
2117
- name: Install apps
2218
apt:
2319
update_cache: yes

0 commit comments

Comments
 (0)