Initial commit erasing history

This commit is contained in:
polz 2024-06-01 00:49:52 +02:00
parent e04f86fd9a
commit 7d8751ffe8
712 changed files with 7348 additions and 0 deletions

View file

@ -0,0 +1,4 @@
- import_tasks: main_win.yml
when: ansible_connection == 'winrm'
- import_tasks: main_lin.yml
when: ansible_connection == 'ssh'

View file

@ -0,0 +1,22 @@
- name: Add Firefox not-a-snap repository
block:
- name: Pin Firefox PPA package priority
template:
src: mozilla-firefox-apt-preferences
dest: /etc/apt/preferences.d/mozilla-firefox
- name: Enable Firefox unattended upgrades
template:
src: mozilla-firefox-unattended-upgrades
dest: /etc/apt/apt.conf.d/51unattended-upgrades-firefox
- name: Add Firefox PPA
apt_repository:
repo: ppa:mozillateam/ppa
state: present
update_cache: True
validate_certs: False
- name: Install Firefox
apt:
name:
- firefox
state: latest

View file

@ -0,0 +1,26 @@
- name: Install Firefox
win_chocolatey:
name: firefox
- name: Create Firefox policy directory
win_file:
dest: C:\Program Files\Mozilla Firefox\distribution
state: directory
- name: Set Firefox policies
copy:
dest: C:\Program Files\Mozilla Firefox\distribution\policies.json
content: |
{
"policies": {
"DisableAppUpdate": true,
"DisableSystemAddonUpdate": true,
"DisableTelemetry": true,
"UserMessaging": {
"WhatsNew": false,
"ExtensionRecommendations": false,
"FeatureRecommendations": false,
"UrlbarInterventions": false,
"SkipOnboarding": true,
"MoreFromMozilla": false
}
}
}

View file

@ -0,0 +1,3 @@
Package: *
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 1001

View file

@ -0,0 +1 @@
Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}";