aboutsummaryrefslogtreecommitdiffstats
path: root/roles/firefox
diff options
context:
space:
mode:
authorStonewall Jackson <stonewall@sacredheartsc.com>2023-02-11 08:16:14 -0500
committerStonewall Jackson <stonewall@sacredheartsc.com>2023-02-11 08:16:14 -0500
commitaf3dc1be1bae5049a6229a58f3f7754533796592 (patch)
tree4b32e6d32add8cf012c2b1cb767ed3fe3c9c24cf /roles/firefox
parentb3f17cfdac403bf855b2ceba99c5e22d85ff7cfa (diff)
downloadselfhosted-af3dc1be1bae5049a6229a58f3f7754533796592.tar.gz
selfhosted-af3dc1be1bae5049a6229a58f3f7754533796592.zip
firefox: disable push notifications by default
Diffstat (limited to 'roles/firefox')
-rw-r--r--roles/firefox/defaults/main.yml1
-rw-r--r--roles/firefox/templates/usr/lib64/firefox/distribution/policies.json.j24
2 files changed, 5 insertions, 0 deletions
diff --git a/roles/firefox/defaults/main.yml b/roles/firefox/defaults/main.yml
index 20ba32e..92354a2 100644
--- a/roles/firefox/defaults/main.yml
+++ b/roles/firefox/defaults/main.yml
@@ -25,6 +25,7 @@ firefox_disable_search_suggestions: yes
firefox_disable_highlights: yes
firefox_disable_safe_browsing: yes
firefox_disable_top_sites: yes
+firefox_disable_push_notifications: yes
firefox_offer_to_save_logins_default: yes
firefox_use_tracking_protection: no
diff --git a/roles/firefox/templates/usr/lib64/firefox/distribution/policies.json.j2 b/roles/firefox/templates/usr/lib64/firefox/distribution/policies.json.j2
index 6b0b0e2..f7d1a22 100644
--- a/roles/firefox/templates/usr/lib64/firefox/distribution/policies.json.j2
+++ b/roles/firefox/templates/usr/lib64/firefox/distribution/policies.json.j2
@@ -96,6 +96,10 @@
},
{% endfor %}
+ "dom.push.connection.enabled": {
+ "Value": {{ (not firefox_disable_push_notifications) | bool | to_json }},
+ "Status": "default"
+ },
"privacy.trackingprotection.socialtracking.enabled": {
"Value": {{ firefox_use_tracking_protection | bool | to_json }},
"Status": "locked"