Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

dincercelik/ansible-modules-snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Installation

This module is NOT included with Ansible v2.5 and below. Install with git clone https://github.com/dincercelik/ansible-modules-snap.git. Valid installation paths are the playbook's library directory, or Ansible's modules path.

Examples

- name: Install the package "hello-world"
  snap:
    name: hello-world
    state: present

- name: Install the package "hello-world" with classic confinement policy
  snap:
    name: hello-world
    state: present
    classic: yes

- name: Install the package "hello-world" from beta channel
  snap:
    name: hello-world
    state: present
    beta: yes

- name: Remove the package "hello-world"
  snap:
    name: hello-world
    state: absent

- name: Update the package "hello-world"
  snap:
    name: hello-world
    state: refresh

- name: Disable the package "hello-world"
  snap:
    name: hello-world
    state: disabled

- name: Enable the package "hello-world"
  snap:
    name: hello-world
    state: enabled

Author Information

This module was created by Dincer Celik.

About

Ansible module for managing Snap packages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages