ANSIBLE.URPMI(3)

NAME
urpmi - Urpmi manager

DESCRIPTION

Manages packages with urpmi (such as for Mageia or Mandriva)

OPTIONS

force
    Corresponds to the --force option for urpmi. Choices: yes,no. (default: yes

no-suggests
    Corresponds to the --no-suggests option for urpmi. Choices: yes,no. (default: yes

pkg name of package to install, upgrade or remove.(required)

state
    Indicates the desired package state Choices: absent,present. (default: present)

update_cache
    update the package database first urpmi.update -a. Choices: yes,no..

EXAMPLES
# install package foo
- urpmi: pkg=foo state=present
# remove package foo
- urpmi: pkg=foo state=absent
# description: remove packages foo and bar
- urpmi: pkg=foo,bar state=absent
# description: update the package database (urpmi.update -a -q) and install bar (bar will be the updated if a newer version exists)
- urpmi: name=bar, state=present, update_cache=yes

AUTHOR
Philippe Makowski

SEE ALSO
ansible(1), http://ansible.github.com/modules.html#urpmi