summaryrefslogtreecommitdiff
path: root/roles/jibri-install/tasks/install-googlechrome.yml
diff options
context:
space:
mode:
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 }