Install Snap for Linux.
platforms:
- name: Fedora
versions:
- 33
- name: Ubuntu
versions:
- xenial
- bionic
- focal
- name: Debian
version:
- oldstable
- stable
- name: EL (CenOS)
versions:
- 7
- 8
- name: opensuse
vesrion:
- tumbleweed
- 15.2
None.
# If you *NOT* use apt-cacher-ng or other caching proxy - select "https".
http_or_https: http
Over ansible-galaxy
:
ansible-galaxy install don_rumata.ansible_role_install_snap
Over bash+git
:
git clone https://github.com/don-rumata/ansible-role-install-snap don_rumata.ansible_role_install_snap
Install latest snapd
on Linux over package manager of you distro:
install-snap.yml
:
- name: Install Snap
hosts: all
strategy: free
serial:
- "100%"
roles:
- don_rumata.ansible_role_install_snap
tasks:
install-firefox-over-snap.yml
:
- name: Install FireFox
hosts: all
strategy: free
serial:
- "100%"
roles:
- don_rumata.ansible_role_install_snap
tasks:
- name: Install FF over snap
become: yes
snap:
name: firefox
state: present
tags:
- firefox
- snap
Apache License, Version 2.0
Add tests.- Add more tests.