summaryrefslogtreecommitdiff
path: root/roles/jibri-install/tasks/install-googlechrome.yml
diff options
context:
space:
mode:
authorSamuel Trégouët <samuel.tregouet@nereide.fr>2021-04-28 15:43:34 +0000
committerAntoine Ouvrard <antoine.ouvrard@nereide.fr>2021-04-28 15:43:34 +0000
commit81f81beb106a49651d2765cf37c623e48b22e688 (patch)
treec7b26e78b6962099696d0193df723b160f952b7d /roles/jibri-install/tasks/install-googlechrome.yml
parente13e25b1dec2680e11fe0484e43e5d9807bd851a (diff)
Jibri installation et configuration
Diffstat (limited to 'roles/jibri-install/tasks/install-googlechrome.yml')
-rw-r--r--roles/jibri-install/tasks/install-googlechrome.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/roles/jibri-install/tasks/install-googlechrome.yml b/roles/jibri-install/tasks/install-googlechrome.yml
new file mode 100644
index 0000000..c2be7c6
--- /dev/null
+++ b/roles/jibri-install/tasks/install-googlechrome.yml
@@ -0,0 +1,29 @@
+---
+- 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
+ - name: CommandLineFlagSecurityWarningsEnabled
+ copy:
+ dest: /etc/opt/chrome/policies/managed/managed_policies.json
+ content: |
+ { "CommandLineFlagSecurityWarningsEnabled": false }