summaryrefslogtreecommitdiffstats
path: root/roles/firefox/tasks
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-11-25 10:15:01 +0100
committerAhmed Abdelhalim <[email protected]>2025-11-25 10:15:01 +0100
commit95dc690d4080e814fa6d7afce99808a171ee4964 (patch)
treebb85760f7f752ccec80d469a2be12bf315a3d145 /roles/firefox/tasks
parentd7f8dbceaf14f68fcb3e81f18513be3803f5f221 (diff)
Rename the firefox created profile to ansible-profile to avoid conflict
To avoid potential conflict when a user already have a profile named and configured for them, it's simpler to use a defined ansible profile that also indicates that the profile is automated
Diffstat (limited to 'roles/firefox/tasks')
-rw-r--r--roles/firefox/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/firefox/tasks/main.yml b/roles/firefox/tasks/main.yml
index 39845983..00cfdd2e 100644
--- a/roles/firefox/tasks/main.yml
+++ b/roles/firefox/tasks/main.yml
@@ -9,9 +9,9 @@
state: "present"
- name: "Create Firefox profile"
- ansible.builtin.command: "firefox --headless -no-remote -CreateProfile {{ ansible_user_id }}-profile"
+ ansible.builtin.command: "firefox --headless -no-remote -CreateProfile ansible-profile"
args:
- creates: "{{ firefox_folder }}/*{{ ansible_user_id }}-profile/prefs.js"
+ creates: "{{ firefox_folder }}/*ansible-profile/prefs.js"
- name: "Install browserpass extension for Firefox"
ansible.builtin.include_tasks: "install_browserpass.yml"