---
-
-
- name: create firefox-policies directory
file:
path: /etc/firefox/policies
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
...