Fix DoH parameter and use copy + command instead of script module since script module does not run from current remote directory (even with chdir argument)
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
// RFP
|
// RFP
|
||||||
user_pref("privacy.resistFingerprinting", true);
|
user_pref("privacy.resistFingerprinting", true);
|
||||||
user_pref("privacy.resistFingerprinting.letterboxing", true)
|
user_pref("privacy.resistFingerprinting.letterboxing", true);
|
||||||
|
|
||||||
// DNS
|
// DNS
|
||||||
user_pref("network.trr.mode", 0); // Disable DoH to use network resolver
|
user_pref("network.trr.mode", 5); // Disable DoH to use network resolver
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -31,18 +31,20 @@
|
|||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: prefsCleaner.sh
|
src: prefsCleaner.sh
|
||||||
dest: "{{ profile_dir.files[0].path }}"
|
dest: "{{ profile_dir.files[0].path }}"
|
||||||
|
mode: "0774"
|
||||||
|
|
||||||
- name: Install updater.sh
|
- name: Install updater.sh
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: updater.sh
|
src: updater.sh
|
||||||
dest: "{{ profile_dir.files[0].path }}"
|
dest: "{{ profile_dir.files[0].path }}"
|
||||||
|
mode: "0774"
|
||||||
|
|
||||||
- name: Run Updater
|
- name: Run Updater
|
||||||
ansible.builtin.script:
|
ansible.builtin.command:
|
||||||
chdir: "{{ profile_dir.files[0].path }}"
|
chdir: "{{ profile_dir.files[0].path }}"
|
||||||
cmd: "updater.sh -s"
|
cmd: "./updater.sh -s"
|
||||||
|
|
||||||
- name: Run prefsCleaner
|
- name: Run prefsCleaner
|
||||||
ansible.builtin.script:
|
ansible.builtin.command:
|
||||||
chdir: "{{ profile_dir.files[0].path }}"
|
chdir: "{{ profile_dir.files[0].path }}"
|
||||||
cmd: "{{ profile_dir.files[0].path }}/prefsCleaner.sh -s"
|
cmd: "./prefsCleaner.sh -s"
|
||||||
|
Reference in New Issue
Block a user