{"id":41582447,"url":"https://github.com/mnussbaum/ansible-yay","last_synced_at":"2026-01-24T08:44:41.615Z","repository":{"id":45518480,"uuid":"138358814","full_name":"mnussbaum/ansible-yay","owner":"mnussbaum","description":"Ansible module to install AUR packages with yay ","archived":false,"fork":false,"pushed_at":"2022-07-24T20:47:40.000Z","size":13,"stargazers_count":49,"open_issues_count":4,"forks_count":10,"subscribers_count":7,"default_branch":"master","last_synced_at":"2023-03-11T11:26:51.529Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/mnussbaum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-23T00:21:06.000Z","updated_at":"2023-03-11T11:26:51.529Z","dependencies_parsed_at":"2022-08-26T22:10:25.549Z","dependency_job_id":null,"html_url":"https://github.com/mnussbaum/ansible-yay","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/mnussbaum/ansible-yay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnussbaum%2Fansible-yay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnussbaum%2Fansible-yay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnussbaum%2Fansible-yay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnussbaum%2Fansible-yay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mnussbaum","download_url":"https://codeload.github.com/mnussbaum/ansible-yay/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnussbaum%2Fansible-yay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28721146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T08:27:05.734Z","status":"ssl_error","status_checked_at":"2026-01-24T08:27:01.197Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-24T08:44:41.562Z","updated_at":"2026-01-24T08:44:41.610Z","avatar_url":"https://github.com/mnussbaum.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-yay\n\nAn Ansible module for installing [AUR](https://aur.archlinux.org/) packages via\nthe [yay][yay] AUR helper.\n\nThis assumes your target node already has yay and its dependecies installed.\n\n## Dependencies (Managed Node)\n\n* [Arch Linux](https://www.archlinux.org/) (Obviously)\n* [yay][yay]\n\n## Installation\n\n1. Clone this repo\n2. Copy or link the `yay` file into your global Ansible library (usually\n   `/usr/share/ansible`) or into the `./library` folder alongside your\n   top-level playbook\n\n## Usage\n\nPretty much identical to the [pacman module][pacman-mod]. Note that package\nstatus, removal, the corresponding `pacman` commands are used (`-Q`, `-R`,\nrespectively).\n\n### Options\n\n| parameter    | required  | default | choices               | description                         |\n|--------------|-----------|---------|-----------------------|-------------------------------------|\n| name         | no        |         |                       | Name of the AUR package to install. |\n| recurse      | no        | no      | yes/no                | Whether to recursively remove packages. See [pacman module docs][pacman-mod]. |\n| state        | no        | no      | absent/present/latest | Whether the package needs to be installed or updated. |\n| update_cache | no        | no      | yes/no                | Whether or not to refresh the master package lists. This can be run as part of a package installation or as a separate step. |\n| upgrade      | no        | no      | yes/no                | Whether or not to upgrade the whole systemd. |\n\n### Examples\n\n```yaml\n# Install package foo\n- yay: name=foo state=present\n\n# Ensure package fuzz is installed and up-to-date\n- yay: name=fuzz state=latest\n\n# Remove packages foo and bar\n- yay: name=foo,bar state=absent\n\n# Recursively remove package baz\n- yay: name=baz state=absent recurse=yes\n\n# Effectively run yay -Syu\n- yay: update_cache=yes upgrade=yes\n```\n\n[yay]: https://github.com/Jguer/yay\n[pacman-mod]: http://docs.ansible.com/pacman_module.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnussbaum%2Fansible-yay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmnussbaum%2Fansible-yay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnussbaum%2Fansible-yay/lists"}