]> freie-schul-it.de Git - fsit-cmgt.git/blobdiff - library/software-firefox_esr.yml
autoremove als einzelnen task, damit es funktioniert
[fsit-cmgt.git] / 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
 ...
 ...