zypper - Manage packages on SuSE and openSuSE

Author:Patrick Callahan

Synopsis

New in version 1.2.

Manage packages on SuSE and openSuSE using the zypper and rpm tools.

Options

parameter required default choices comments
disable_gpg_check no no
  • yes
  • no
Whether to disable to GPG signature checking of the package signature being installed. Has an effect only if state is present or latest.
name yes
    package name or package specifier wth version name or name-1.0.
    state no present
    • present
    • latest
    • absent
    present will make sure the package is installed. latest will make sure the latest version of the package is installed. absent will make sure the specified package is not installed.

    Note

    Requires zypper

    Note

    Requires rpm

    Examples


    # Install "nmap"
    - zypper: name=nmap state=present
    
    # Remove the "nmap" package
    - zypper: name=nmap state=absent

    Table Of Contents

    Previous topic

    yum - Manages packages with the yum package manager

    Next topic

    zypper_repository - Add and remove Zypper repositories