Skip to content

mula-dm/ansible_module_snapd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ansible-snapd-module

Module for ansible to setup packages with snapd

Instalation

Alternatively you can put it in library directory with your playbook

|- playbook.yml
|- library
   |- snap.py

Usage

- name: update snap cache
  snap:
    upgrade: yes

- name: snap
  snap:
    name: "{{ item }}"
    state: absent
  with_items:
    - hello-world
    - hello-world