From 63042a1f6b15f0a85e3cf943c71e6a88aaad442e Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Tue, 25 Nov 2025 11:05:27 +0100 Subject: 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 --- roles/firefox/meta/main.yml | 5 +---- roles/firefox/tasks/install_passff.yml | 11 +++++++++++ roles/password_store/tasks/main.yml | 3 ++- 3 files changed, 14 insertions(+), 5 deletions(-) (limited to 'roles') 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 -- cgit v1.2.3