Add firefox policies for Linux, merge them with windows
This commit is contained in:
parent
78e7df1fb1
commit
eb4a2974ad
3 changed files with 28 additions and 16 deletions
17
roles/firefox/files/policies.json
Normal file
17
roles/firefox/files/policies.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"policies": {
|
||||
"OverrideFirstRunPage": "https://ucilnica.fri.uni-lj.si",
|
||||
"OverridePostUpdatePage": "https://ucilnica.fri.uni-lj.si",
|
||||
"DisableAppUpdate": true,
|
||||
"DisableSystemAddonUpdate": true,
|
||||
"DisableTelemetry": true,
|
||||
"UserMessaging": {
|
||||
"WhatsNew": false,
|
||||
"ExtensionRecommendations": false,
|
||||
"FeatureRecommendations": false,
|
||||
"UrlbarInterventions": false,
|
||||
"SkipOnboarding": true,
|
||||
"MoreFromMozilla": false
|
||||
}
|
||||
}
|
||||
}
|
|
@ -31,3 +31,13 @@
|
|||
- firefox
|
||||
state: latest
|
||||
allow_downgrade: True
|
||||
|
||||
- name: Create Firefox policies directory
|
||||
file:
|
||||
path: /etc/firefox/policies
|
||||
state: directory
|
||||
|
||||
- name: Set Firefox policies
|
||||
copy:
|
||||
dest: /etc/firefox/policies/policies.json
|
||||
src: policies.json
|
||||
|
|
|
@ -8,19 +8,4 @@
|
|||
- 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
|
||||
}
|
||||
}
|
||||
}
|
||||
src: policies.json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue