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
|
- firefox
|
||||||
state: latest
|
state: latest
|
||||||
allow_downgrade: True
|
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
|
- name: Set Firefox policies
|
||||||
copy:
|
copy:
|
||||||
dest: C:\Program Files\Mozilla Firefox\distribution\policies.json
|
dest: C:\Program Files\Mozilla Firefox\distribution\policies.json
|
||||||
content: |
|
src: policies.json
|
||||||
{
|
|
||||||
"policies": {
|
|
||||||
"DisableAppUpdate": true,
|
|
||||||
"DisableSystemAddonUpdate": true,
|
|
||||||
"DisableTelemetry": true,
|
|
||||||
"UserMessaging": {
|
|
||||||
"WhatsNew": false,
|
|
||||||
"ExtensionRecommendations": false,
|
|
||||||
"FeatureRecommendations": false,
|
|
||||||
"UrlbarInterventions": false,
|
|
||||||
"SkipOnboarding": true,
|
|
||||||
"MoreFromMozilla": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue