Compare commits
No commits in common. "9660522100d4ab5d1d33b0893759dbcf79057a20" and "ce7c924944232f3a3f504118d20d0e425d19f4bb" have entirely different histories.
9660522100
...
ce7c924944
3 changed files with 20 additions and 14 deletions
|
|
@ -217,11 +217,24 @@
|
|||
name: "*"
|
||||
state: latest # noqa: package-latest
|
||||
# Install a policy file to force Firefox to use encrypted DNS
|
||||
- name: Create Firefox DNS policy
|
||||
ansible.builtin.template:
|
||||
src: templates/policies.json
|
||||
dest: /etc/firefox/policies/policies.json
|
||||
- name: Create Firefox DNS policy, line 1
|
||||
ansible.builtin.lineinfile:
|
||||
path: /usr/lib64/firefox/defaults/pref/autoconfig.js
|
||||
mode: "644"
|
||||
create: true
|
||||
line: lockPref("network.trr.mode", 3);
|
||||
- name: Create Firefox DNS policy, line 1
|
||||
ansible.builtin.lineinfile:
|
||||
path: /usr/lib64/firefox/defaults/pref/autoconfig.js
|
||||
mode: "644"
|
||||
create: true
|
||||
line: lockPref("network.trr.url", "{{ dns_server }}");
|
||||
- name: Create Firefox DNS policy, line 1
|
||||
ansible.builtin.lineinfile:
|
||||
path: /usr/lib64/firefox/defaults/pref/autoconfig.js
|
||||
mode: "644"
|
||||
create: true
|
||||
line: lockPref("network.trr.custom_uri", "{{ dns_server }}");
|
||||
|
||||
# Generally speaking, I try to install Flatpak applications at the user level
|
||||
# b/c that really gives more credence to the whole sandboxing idea (concept of
|
||||
|
|
|
|||
|
|
@ -237,6 +237,9 @@
|
|||
"extensions.formautofill.addresses.enabled" = false;
|
||||
"extensions.formautofill.creditCards.enabled" = false;
|
||||
"extensions.autoDisableScopes" = 0;
|
||||
"network.trr.mode" = 3; # DNS over HTTPS always
|
||||
"network.trr.uri" = "https://family.dns.mullvad.net/dns-query";
|
||||
"network.trr.custom_uri" = "https://family.dns.mullvad.net/dns-query";
|
||||
"privacy.bounceTrackingProtection.mode" = 1;
|
||||
"privacy.clearOnShutdown_v2.browsingHistoryAndDownloads" = false;
|
||||
"privacy.clearOnShutdown_v2.cache" = true;
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
"policies": {
|
||||
"DNSOverHTTPS": {
|
||||
"Enabled": true,
|
||||
"ProviderURL": "{{ dns_server }}",
|
||||
"Locked": true,
|
||||
"Fallback": false
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue