community / community.general / 2.5.9 / module / slackpkg Package manager for Slackware >= 12.2 Authors: Kim Nørgaard (@KimNorgaard)community.general.slackpkg (2.5.9) — module
Install with ansible-galaxy collection install community.general:==2.5.9
collections: - name: community.general version: 2.5.9
Manage binary packages for Slackware using 'slackpkg' which is available in versions after 12.2.
- name: Install package foo community.general.slackpkg: name: foo state: present
- name: Remove packages foo and bar community.general.slackpkg: name: foo,bar state: absent
- name: Make sure that it is the most updated package community.general.slackpkg: name: foo state: latest
name: aliases: - pkg description: - name of package to install/remove elements: str required: true type: list state: choices: - present - absent - latest - installed - removed 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 type: str update_cache: aliases: - update-cache default: false description: - update the package database first - Alias C(update-cache) has been deprecated and will be removed in community.general 5.0.0. required: false type: bool