summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2025-11-25 11:05:27 +0100
committerAhmed AbdelHalim <[email protected]>2025-11-25 14:09:10 +0100
commitb294c927cc271958926315411926cfdb04afbd2f (patch)
treee3c0668be28b23bff23ae655caef14a4b69c6aa7 /roles
parent1923a02982e24255d9f10e0f867874e177e28de9 (diff)
Fix the testing of passff (requires pass to be installed)
Update the firefox role dependencies and added notes about using passff and it's required dependencies
Diffstat (limited to 'roles')
-rw-r--r--roles/firefox/meta/main.yml5
-rw-r--r--roles/firefox/tasks/install_passff.yml11
-rw-r--r--roles/password_store/tasks/main.yml3
3 files changed, 14 insertions, 5 deletions
diff --git a/roles/firefox/meta/main.yml b/roles/firefox/meta/main.yml
index 3da12597..7a9b0102 100644
--- a/roles/firefox/meta/main.yml
+++ b/roles/firefox/meta/main.yml
@@ -1,8 +1,5 @@
---
-dependencies:
- - role: "sed"
- - role: "python"
- - role: "bash"
+dependencies: []
galaxy_info:
author: "a14m"
description: "Configure firefox settings and policies."
diff --git a/roles/firefox/tasks/install_passff.yml b/roles/firefox/tasks/install_passff.yml
index 70f3f397..fbce12ee 100644
--- a/roles/firefox/tasks/install_passff.yml
+++ b/roles/firefox/tasks/install_passff.yml
@@ -1,4 +1,15 @@
---
+# NOTE: This part of the role depends on
+# - role: "curl"
+# - role: "sed"
+# - role: "python"
+# - role: "bash"
+# - role: "password_store"
+#
+# As it uses these tools to install and run passff.
+# The curl, sed, bash are used for installation.
+# Python is used to run the passff native messaging host.
+# pass is required by passff to access the password store, and errors when not found.
- name: "Add passff to default extensions"
ansible.builtin.set_fact:
firefox_default_extensions: "{{ firefox_default_extensions | combine(firefox_passff_extension) }}"
diff --git a/roles/password_store/tasks/main.yml b/roles/password_store/tasks/main.yml
index 0537b5fe..f25364a2 100644
--- a/roles/password_store/tasks/main.yml
+++ b/roles/password_store/tasks/main.yml
@@ -15,4 +15,5 @@
clone: true
update: false
single_branch: true
- version: main
+ version: "refs/heads/main"
+ force: true