]> freie-schul-it.de Git - fsit-cmgt.git/commitdiff
Firefox-ESR für Ubuntu installieren
authorUllli <ullli@freie-schul-it.de>
Wed, 24 May 2023 16:11:10 +0000 (18:11 +0200)
committerUllli <ullli@freie-schul-it.de>
Wed, 24 May 2023 16:11:10 +0000 (18:11 +0200)
library/software-firefox_esr.yml

index a042eb0478c82b07cfeada710fad307b98c8647f..5ef30d57beac7eb52c39637c8cec501bee9c5672 100644 (file)
@@ -1,6 +1,4 @@
 ---
 ---
-
-
 - name: create firefox-policies directory
      file:
        path: /etc/firefox/policies
 - name: create firefox-policies directory
      file:
        path: /etc/firefox/policies
@@ -9,4 +7,26 @@
   copy:
     src: templates/firefox_policies.json.j2
     dest: /etc/firefox/policies/policies.json
   copy:
     src: templates/firefox_policies.json.j2
     dest: /etc/firefox/policies/policies.json
+
+# Ubuntu: Firefox entfernen und Firefox-ESR installieren!
+# Was ist mit snap bei 22.04???
+- name: Firefox-ESR - add repository from PPA and install its signing key on Ubuntu
+  apt_repository:
+    repo: ppa:mozillateam/ppa
+  when: ansible_facts['distribution'] == 'Ubuntu'
+- name: remove unwanted packages for Ubuntu
+  apt:
+    state: absent
+    pkg:
+    - firefox
+    - firefox-locale-de
+    - firefox-locale-en
+    - firefox-locale-es
+  when: ansible_facts['distribution'] == 'Ubuntu'
+- name: install firefox-esr for ubuntu-systems
+  apt:
+    pkg:
+    - firefox-esr
+    - firefox-esr-locale-de
+    - firefox-esr-locale-es
 ...
 ...