community / community.general / 0.1.1 / module / slackpkg Package manager for Slackware >= 12.2 Authors: Kim Nørgaard (@KimNorgaard) preview | supported by communitycommunity.general.slackpkg (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
Manage binary packages for Slackware using 'slackpkg' which is available in versions after 12.2.
# Install package foo - slackpkg: name: foo state: present
# Remove packages foo and bar - slackpkg: name: foo,bar state: absent
# Make sure that it is the most updated package - slackpkg: name: foo state: latest
name: description: - name of package to install/remove required: true state: choices: - present - absent - latest default: present description: - state of the package, you can use "installed" as an alias for C(present) and removed as one for C(absent). required: false update_cache: default: false description: - update the package database first required: false type: bool