From 81f81beb106a49651d2765cf37c623e48b22e688 Mon Sep 17 00:00:00 2001 From: Samuel Trégouët Date: Wed, 28 Apr 2021 15:43:34 +0000 Subject: Jibri installation et configuration --- roles/jibri-install/tasks/install-googlechrome.yml | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 roles/jibri-install/tasks/install-googlechrome.yml (limited to 'roles/jibri-install/tasks/install-googlechrome.yml') 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 } -- cgit v1.2.3