don_rumata.ansible_role_install_snap
Rola Ansible: Instalacja Snap
Instalacja Snap dla systemu Linux.
Obsługiwane platformy
platforms:
- name: Fedora
versions:
- 33
- name: Ubuntu
versions:
- xenial
- bionic
- focal
- name: Debian
version:
- oldstable
- stable
- name: EL (CenOS)
versions:
- 7
- 8
- name: opensuse
version:
- tumbleweed
- 15.2
Wymagania
Brak.
Zmienne roli
# Jeśli NIE używasz apt-cacher-ng lub innego proxy cache - wybierz "https".
http_or_https: http
Zależności
Jak to zrobić
Jak zainstalować rolę
Za pomocą ansible-galaxy
:
ansible-galaxy install don_rumata.ansible_role_install_snap
Za pomocą bash+git
:
git clone https://github.com/don-rumata/ansible-role-install-snap don_rumata.ansible_role_install_snap
Przykład Playbooka
Zainstaluj najnowszą wersję snapd
na Linuxie przez menedżera pakietów swojego dystrybucji:
install-snap.yml
:
- name: Instalacja Snap
hosts: all
strategy: free
serial:
- "100%"
roles:
- don_rumata.ansible_role_install_snap
tasks:
install-firefox-over-snap.yml
:
- name: Instalacja FireFox
hosts: all
strategy: free
serial:
- "100%"
roles:
- don_rumata.ansible_role_install_snap
tasks:
- name: Instalacja FF przez snap
become: yes
snap:
name: firefox
state: present
tags:
- firefox
- snap
Licencja
Licencja Apache, Wersja 2.0
Informacje o autorze
TODO
Dodaj testy.- Dodaj więcej testów.
O projekcie
Install Snap for Linux
Zainstaluj
ansible-galaxy install don_rumata.ansible_role_install_snap
Licencja
apache-2.0
Pobrania
1.3k
Właściciel
Здесь все бесполезно. Знаний не хватает, а золото теряет цену, потому что опаздывает.