blob: 5893d245b7509da444442584bc9b38fefd4e35a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
---
- name: Import de la clé GPG google
apt_key:
id: 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991
url: https://dl-ssl.google.com/linux/linux_signing_key.pub
keyring: /etc/apt/trusted.gpg.d/google.gpg
- name: Ajout du depot google
apt_repository:
repo: deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/google.gpg] http://dl.google.com/linux/chrome/deb/ stable main
update_cache: true
filename: google-chrome
- name: install google-chrome-stable
apt:
pkg:
- google-chrome-stable
- name: désactive l'avertissement chrome est contrôllé par un autre logiciel
block:
- name: répertoire policies
file:
state: directory
path: /etc/opt/chrome/policies/managed
mode: 0644
- name: CommandLineFlagSecurityWarningsEnabled
copy:
dest: /etc/opt/chrome/policies/managed/managed_policies.json
mode: 0755
content: |
{ "CommandLineFlagSecurityWarningsEnabled": false }
|