community.general.swdepot (8.5.0) — module

Manage packages with swdepot package manager (HP-UX)

Authors: Raul Melo (@melodous)

Install collection

Install with ansible-galaxy collection install community.general:==8.5.0


Add to requirements.yml

  collections:
    - name: community.general
      version: 8.5.0

Description

Will install, upgrade and remove packages with swdepot package manager (HP-UX)

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Install a package
  community.general.swdepot:
    name: unzip-6.0
    state: present
    depot: 'repository:/path'
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Install the latest version of a package
  community.general.swdepot:
    name: unzip
    state: latest
    depot: 'repository:/path'
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Remove a package
  community.general.swdepot:
    name: unzip
    state: absent

Inputs

    
name:
    aliases:
    - pkg
    description:
    - package name.
    required: true
    type: str

depot:
    description:
    - The source repository from which install or upgrade a package.
    type: str

state:
    choices:
    - present
    - latest
    - absent
    description:
    - whether to install (V(present), V(latest)), or remove (V(absent)) a package.
    required: true
    type: str