community.general.urpmi – Urpmi manager¶
Note
This plugin is part of the community.general collection (version 1.3.6).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.urpmi
.
Parameters¶
Examples¶
- name: Install package foo
community.general.urpmi:
pkg: foo
state: present
- name: Remove package foo
community.general.urpmi:
pkg: foo
state: absent
- name: Remove packages foo and bar
community.general.urpmi:
pkg: foo,bar
state: absent
- name: Update the package database (urpmi.update -a -q) and install bar (bar will be the updated if a newer version exists)
- community.general.urpmi:
name: bar
state: present
update_cache: yes
Authors¶
Philippe Makowski (@pmakowski)