Added ansible play to install snapd

This commit is contained in:
Michele Cereda
2022-05-10 23:33:33 +02:00
parent ad925efe97
commit d8f5dcc5e3

View File

@@ -0,0 +1,25 @@
---
- name: Install and configure Snap
tags:
- package_manager
- package_managers
- package-manager
- package-managers
- pkg_mgr
- snap
- snapcraft
- snapd
hosts: all
tasks:
- when: ansible_system == 'Linux'
tags: linux
block:
- name: Install snapd
tags:
- install
- installation
become: true
ansible.builtin.package:
name: snapd
state: present