{"id":16174293,"url":"https://github.com/gotmax23/ansible-role-pass","last_synced_at":"2026-04-13T02:05:15.850Z","repository":{"id":116065229,"uuid":"394826502","full_name":"gotmax23/ansible-role-pass","owner":"gotmax23","description":"Ansible role that installs password-store (pass), the standard Unix password manager.","archived":false,"fork":false,"pushed_at":"2022-06-12T16:41:24.000Z","size":100,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T12:53:59.794Z","etag":null,"topics":["ansible","ansible-role","molecule","pass","password-store","role"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/gotmax23/pass","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gotmax23.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-11T01:34:59.000Z","updated_at":"2021-12-27T18:54:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"99e59d81-cdb9-421f-8f73-d6a83db5ee44","html_url":"https://github.com/gotmax23/ansible-role-pass","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotmax23%2Fansible-role-pass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotmax23%2Fansible-role-pass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotmax23%2Fansible-role-pass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gotmax23%2Fansible-role-pass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gotmax23","download_url":"https://codeload.github.com/gotmax23/ansible-role-pass/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247631284,"owners_count":20970038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","molecule","pass","password-store","role"],"created_at":"2024-10-10T04:24:27.316Z","updated_at":"2026-04-13T02:05:15.812Z","avatar_url":"https://github.com/gotmax23.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Role: pass\n[![Role gotmax23.pass][badge-role]][link-galaxy]\n[![Github Repo][badge-github-repo]][link-github-repo]\n[![SourceHut Repo][badge-srht-repo]][link-srht-repo]\n[![MIT Licensed][badge-license]][link-license]\n[![Github Open Issues][badge-github-issues]][link-github-issues]\n[![Github Open PRs][badge-github-prs]][link-github-prs]\n[![Role Version][badge-version]][link-version]\n[![Commits since last version][badge-commits-since]][link-version]\n[![Galaxy Role Quality][badge-quality]][link-galaxy]\n[![Galaxy Role Downloads][badge-downloads]][link-galaxy]\n[![Github Actions Molecule workflow status][badge-molecule-workflow]][link-molecule-workflow]\n[![Github Actions Galaxy workflow status][badge-galaxy-workflow]][link-galaxy-workflow]\n\nAnsible role that installs password-store (pass), the standard Unix password manager.\n\n## Beta Warning\n**This role is currently in beta and is not intended for production use. Breaking changes may occur between releases, so please make sure to read the release notes.**\n## Requirements\n\nIf you are using Enterprise Linux (CentOS, Rocky Linux, Alamlinux, RHEL, etc.), you need to install the EPEL repository. You can use the [`robertdebock.epel`](https://github.com/robertdebock/ansible-role-epel) role to do so. See the [example playbook](#example-playbook) for a a full example.\n\nThis role depends on certain collections that are not included in ansible-core.\n\nThis role's [example playbook](#example-playbook) requires another role to prepare the target system.\n\nTo install this role's requirements, create a `requirements.yml` file with the following contents:\n\n``` yaml\n---\nroles:\n  - name: robertdebock.epel\ncollections:\n  - name: community.general\n\n```\n\nThen, if you are using ansible-base/ansible-core 2.10 or later, run this command.\n\n``` shell\nansible-galaxy install -r requirements.yml\n```\n\n\nIf you are still using Ansible 2.9, run these commands, instead.\n\n``` shell\nansible-galaxy collection install -r requirements.yml\nansible-galaxy role install -r requirements.yml\n```\n\n## Role Variables\n\n### Available Installation Methods\n\nThis role allows you to choose which source to install Pass from. You may override the default installation method by setting `pass_install_method` to the one of the values outlined below.\n\n#### `pass_install_method=distro_package`\n\n**Description:** This installs Pass from the distribution's repositories. This version may be out of date.\n\n**Supported Distributions:** All distributions supported by this role\n\n**Default:** Yes\n\n#### `pass_install_method=source`\n**Description:** This installs Pass from source.\n\n**Supported Distributions:** All distributions supported by this role\n\n**Default:** No\n\n----\n\nHere are this role's variables and their default values, as set in [`defaults/main.yml`][link-defaults]. If you'd like, you may change them to customize this role's behavior.\n\n``` yaml\n---\n# defaults file for pass\n# Please see the `Available Installation Methods` section above\npass_install_method: distro_package\n\n# Options:\n# - `present` ensures that pass is installed\n# - `absent` ensures that pass is not installed. This does not remove\n# dependencies that are installed when `pass_install_method=source` to avoid\n# removing packages that you installed prior to running this role.\npass_state: \"present\"\n\n# Pass has the ability to copy passwords to your system clipboard using the `-c`\n# option of the `pass show` command. By default, this role installs `xclip`, the\n# clipboard helper for Xorg. If you are using Wayland, change this value to\n# `wl-clipboard`. If you would like to install both `xclip` and `wl-clipboard`,\n# change this value to `both`.\npass_clipboard_helper: xclip\n\n##########\n# These Variables only apply when `pass_install_method=source`.\n\n# Where to download and extract the Pass source tarball.\npass_download_path: /opt/pass\n\n# Which version of Pass to install.\n# When set to latest, this role will determine the latest version\n# and install that.\npass_version: latest\n# pass_version: 1.7.4\n\n# Parameters to pass to make. Please see the [installation instructions][1] and\n# [Makefile][2] in Pass's Git repository for all available parameters.\npass_make_params:\n  # You can remove this value to install Pass to the default location, /usr/bin.\n  # However, I recommend keeping this role's default which follows the Filesystem\n  # Hierarchy Standard[3] and avoids conflicting with the system package manager.\n  PREFIX: /usr/local  # Install pass to /usr/local/bin\n\n```\n\n\\[1]: https://git.zx2c4.com/password-store/tree/INSTALL\n\n\\[2]: https://git.zx2c4.com/password-store/tree/Makefile\n\n\\[3]: https://refspecs.linuxfoundation.org/fhs.shtml\n\n\n## Example Playbook\n``` yaml\n---\n- name: Install Pass\n  hosts: all\n  become: true\n\n  tasks:\n    - name: Update apt cache\n      when: ansible_pkg_mgr == \"apt\"\n      ansible.builtin.apt:\n        update_cache: true\n        cache_valid_time: 3600\n\n    - name: Install EPEL Repo (will only run on EL-based distros)\n      ansible.builtin.include_role:\n        name: robertdebock.epel\n\n    - name: Install Pass\n      ansible.builtin.include_role:\n        name: \"gotmax23.pass\"\n\n```\n\n## Compatibility\nThis role is tested using the latest version of ansible-core and the latest version of the collections from Ansible Galaxy. This is the only version of Ansible that this role officially supports. Best effort support is provided for other versions.\n\nThis role is compatible with the following distros:\n\n|distro|versions|\n|------|--------|\n|Archlinux|any|\n|Debian|buster, bullseye, bookworm|\n|EL|8|\n|Fedora|34, 35, 36|\n|opensuse|15.3, tumbleweed|\n|Ubuntu|bionic, focal|\n\n## License\n[MIT][link-license]\n\n## Author\nMaxwell G (@gotmax23)\n\n[badge-role]: https://img.shields.io/ansible/role/56499.svg?logo=ansible\n[link-galaxy]: https://galaxy.ansible.com/gotmax23/pass\n[badge-github-repo]: https://img.shields.io/static/v1?label=GitHub\u0026message=repo\u0026color=blue\u0026logo=github\n[link-github-repo]: https://github.com/gotmax23/ansible-role-pass\n[badge-srht-repo]: https://img.shields.io/static/v1?label=SourceHut\u0026message=repo\u0026color=blue\u0026logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgdmlld0JveD0iMCAw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MCIKICAgICBpbmtzY2FwZTp3aW5kb3ctbWF4aW1pemVkPSIxIgogICAgIGlua3NjYXBlOmN1cnJlbnQtbGF5ZXI9InN2ZzUxIiAvPgogIDxwYXRoCiAgICAgZD0iTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTAgNDQ4Yy0xMTAuNSAwLTIwMC04OS41LTIwMC0yMDBTMTQ1LjUgNTYgMjU2IDU2czIwMCA4OS41IDIwMCAyMDAtODkuNSAyMDAtMjAwIDIwMHoiCiAgICAgaWQ9InBhdGg0OSIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmIiAvPgo8L3N2Zz4K\n[link-srht-repo]: https://git.sr.ht/~gotmax23/ansible-role-pass\n[badge-license]: https://img.shields.io/github/license/gotmax23/ansible-role-pass.svg?logo=github\n[link-license]: https://github.com/gotmax23/ansible-role-pass/blob/main/LICENSE\n[badge-github-issues]: https://img.shields.io/github/issues/gotmax23/ansible-role-pass.svg?logo=github\n[link-github-issues]: https://github.com/gotmax23/ansible-role-pass/issues\n[badge-github-prs]: https://img.shields.io/github/issues-pr/gotmax23/ansible-role-pass.svg?logo=github\n[link-github-prs]: https://github.com/gotmax23/ansible-role-pass/pulls\n[badge-version]: https://img.shields.io/github/release/gotmax23/ansible-role-pass.svg?logo=github\n[link-version]: https://github.com/gotmax23/ansible-role-pass/releases/latest\n[badge-commits-since]: https://img.shields.io/github/commits-since/gotmax23/ansible-role-pass/latest.svg?logo=github\n[badge-quality]: https://img.shields.io/ansible/quality/56499.svg?logo=ansible\n[badge-downloads]: https://img.shields.io/ansible/role/d/56499.svg?logo=ansible\n[badge-molecule-workflow]: https://github.com/gotmax23/ansible-role-pass/actions/workflows/molecule.yml/badge.svg?branch=main\n[link-molecule-workflow]: https://github.com/gotmax23/ansible-role-pass/actions/workflows/molecule.yml\n[badge-galaxy-workflow]: https://github.com/gotmax23/ansible-role-pass/actions/workflows/galaxy.yml/badge.svg\n[link-galaxy-workflow]: https://github.com/gotmax23/ansible-role-pass/actions/workflows/galaxy.yml\n[link-defaults]: https://github.com/gotmax23/ansible-role-pass/blob/main/defaults/main.yml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotmax23%2Fansible-role-pass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgotmax23%2Fansible-role-pass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgotmax23%2Fansible-role-pass/lists"}