mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Rename apt-rpm to apt_rpm.
This commit is contained in:
parent
535b2ba64c
commit
dfbe35d4be
2 changed files with 7 additions and 6 deletions
|
@ -21,6 +21,7 @@ New Modules:
|
|||
* packaging: composer (PHP)
|
||||
* packaging: homebrew_tap (OS X)
|
||||
* packaging: homebrew_cask (OS X)
|
||||
* packaging: apt_rpm
|
||||
* notification: nexmo (SMS)
|
||||
* notification: twilio (SMS)
|
||||
* notification: slack (Slack.com)
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: apt-rpm
|
||||
short_description: apt-rpm package manager
|
||||
module: apt_rpm
|
||||
short_description: apt_rpm package manager
|
||||
description:
|
||||
- Manages packages with I(apt-rpm). Both low-level (I(rpm)) and high-level (I(apt-get)) package manager binaries required.
|
||||
version_added: "1.5"
|
||||
|
@ -50,13 +50,13 @@ notes: []
|
|||
|
||||
EXAMPLES = '''
|
||||
# install package foo
|
||||
- apt-rpm: pkg=foo state=present
|
||||
- apt_rpm: pkg=foo state=present
|
||||
# remove package foo
|
||||
- apt-rpm: pkg=foo state=absent
|
||||
- apt_rpm: pkg=foo state=absent
|
||||
# description: remove packages foo and bar
|
||||
- apt-rpm: pkg=foo,bar state=absent
|
||||
- apt_rpm: pkg=foo,bar state=absent
|
||||
# description: update the package database and install bar (bar will be the updated if a newer version exists)
|
||||
- apt-rpm: name=bar state=present update_cache=yes
|
||||
- apt_rpm: name=bar state=present update_cache=yes
|
||||
'''
|
||||
|
||||
|
Loading…
Reference in a new issue