Rename apt-rpm to apt_rpm.

This commit is contained in:
Michael DeHaan 2014-03-28 13:18:49 -04:00
parent 535b2ba64c
commit dfbe35d4be
2 changed files with 7 additions and 6 deletions

View file

@ -21,6 +21,7 @@ New Modules:
* packaging: composer (PHP) * packaging: composer (PHP)
* packaging: homebrew_tap (OS X) * packaging: homebrew_tap (OS X)
* packaging: homebrew_cask (OS X) * packaging: homebrew_cask (OS X)
* packaging: apt_rpm
* notification: nexmo (SMS) * notification: nexmo (SMS)
* notification: twilio (SMS) * notification: twilio (SMS)
* notification: slack (Slack.com) * notification: slack (Slack.com)

View file

@ -21,8 +21,8 @@
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: apt-rpm module: apt_rpm
short_description: apt-rpm package manager short_description: apt_rpm package manager
description: description:
- Manages packages with I(apt-rpm). Both low-level (I(rpm)) and high-level (I(apt-get)) package manager binaries required. - 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" version_added: "1.5"
@ -50,13 +50,13 @@ notes: []
EXAMPLES = ''' EXAMPLES = '''
# install package foo # install package foo
- apt-rpm: pkg=foo state=present - apt_rpm: pkg=foo state=present
# remove package foo # remove package foo
- apt-rpm: pkg=foo state=absent - apt_rpm: pkg=foo state=absent
# description: remove packages foo and bar # 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) # 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
''' '''