{"id":19624180,"url":"https://github.com/don-rumata/ansible-role-install-snap","last_synced_at":"2026-05-05T09:32:27.456Z","repository":{"id":177573058,"uuid":"259057129","full_name":"don-rumata/ansible-role-install-snap","owner":"don-rumata","description":"Ansible Role: Install Snap","archived":false,"fork":false,"pushed_at":"2021-05-02T23:06:19.000Z","size":58,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T13:04:25.987Z","etag":null,"topics":["ansible","ansible-galaxy","ansible-role","centos","debian","fedora","opensuse","rhel","snap","snapcraft","snappy","ubuntu"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/don_rumata/ansible_role_install_snap","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/don-rumata.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":"2020-04-26T14:55:22.000Z","updated_at":"2023-05-05T19:12:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"f16b82f7-00c7-4422-ab62-e7288b3a6f3c","html_url":"https://github.com/don-rumata/ansible-role-install-snap","commit_stats":null,"previous_names":["don-rumata/ansible-role-install-snap"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/don-rumata/ansible-role-install-snap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/don-rumata%2Fansible-role-install-snap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/don-rumata%2Fansible-role-install-snap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/don-rumata%2Fansible-role-install-snap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/don-rumata%2Fansible-role-install-snap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/don-rumata","download_url":"https://codeload.github.com/don-rumata/ansible-role-install-snap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/don-rumata%2Fansible-role-install-snap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32643621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ansible","ansible-galaxy","ansible-role","centos","debian","fedora","opensuse","rhel","snap","snapcraft","snappy","ubuntu"],"created_at":"2024-11-11T11:37:13.141Z","updated_at":"2026-05-05T09:32:27.435Z","avatar_url":"https://github.com/don-rumata.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Role: Install Snap\n\n[![License][license-image]][license-url] [![Ansible Galaxy][ansible-galaxy-image]][ansible-galaxy-url] [![CircleCI][circleci-image]][circleci-url]\n\nInstall [Snap](https://snapcraft.io/) for Linux.\n\n## Work on\n\n```yaml\n  platforms:\n    - name: Fedora\n      versions:\n        - 33\n    - name: Ubuntu\n      versions:\n        - xenial\n        - bionic\n        - focal\n    - name: Debian\n      version:\n        - oldstable\n        - stable\n    - name: EL (CenOS)\n      versions:\n        - 7\n        - 8\n    - name: opensuse\n      vesrion:\n        - tumbleweed\n        - 15.2\n```\n\n## Requirements\n\nNone.\n\n## Role Variables\n\n```yaml\n# If you *NOT* use apt-cacher-ng or other caching proxy - select \"https\".\nhttp_or_https: http\n```\n\n## Dependencies\n\n[min_ansible_version: 2.8](https://docs.ansible.com/ansible/latest/modules/snap_module.html)\n\n## HowTo\n\n### How to install role\n\nOver `ansible-galaxy`:\n\n```bash\nansible-galaxy install don_rumata.ansible_role_install_snap\n```\n\nOver `bash+git`:\n\n```bash\ngit clone https://github.com/don-rumata/ansible-role-install-snap don_rumata.ansible_role_install_snap\n```\n\n## Example Playbook\n\nInstall latest `snapd` on Linux over package manager of you distro:\n\n`install-snap.yml`:\n\n```yaml\n- name: Install Snap\n  hosts: all\n  strategy: free\n  serial:\n    - \"100%\"\n  roles:\n    - don_rumata.ansible_role_install_snap\n  tasks:\n```\n\n`install-firefox-over-snap.yml`:\n\n```yaml\n- name: Install FireFox\n  hosts: all\n  strategy: free\n  serial:\n    - \"100%\"\n  roles:\n    - don_rumata.ansible_role_install_snap\n  tasks:\n\n    - name: Install FF over snap\n      become: yes\n      snap:\n        name: firefox\n        state: present\n      tags:\n        - firefox\n        - snap\n```\n\n## License\n\nApache License, Version 2.0\n\n## Author Information\n\n[don Rumata](https://github.com/don-rumata)\n\n## TODO\n\n- ~~Add tests.~~\n- Add more tests.\n\n[license-image]: https://img.shields.io/github/license/don-rumata/ansible-role-install-snap.svg\n[license-url]: https://opensource.org/licenses/Apache-2.0\n\n[ansible-galaxy-image]: https://img.shields.io/badge/ansible_galaxy-don__rumata.ansible__role__install__snap-blue.svg\n[ansible-galaxy-url]: https://galaxy.ansible.com/don_rumata/ansible_role_install_snap\n\n[circleci-image]: https://circleci.com/gh/don-rumata/ansible-role-install-snap.svg?style=shield\n[circleci-url]: https://circleci.com/gh/don-rumata/ansible-role-install-snap\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdon-rumata%2Fansible-role-install-snap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdon-rumata%2Fansible-role-install-snap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdon-rumata%2Fansible-role-install-snap/lists"}