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:
Mike Wilson
2025-06-16 15:06:36 -04:00
parent 4105f50aa7
commit 6323393963
2 changed files with 8 additions and 6 deletions

View File

@@ -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

View File

@@ -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"