There's a cleaner way to do this, commit to module formatter pending.

Revert "No longer need to reference 'version_added' in docs for these, as this was quite a while ago."

This reverts commit ff0a41d446.
pull/5095/merge
Michael DeHaan 11 years ago
parent ff0a41d446
commit 36effd237c

@ -21,7 +21,7 @@ module: virt
short_description: Manages virtual machines supported by libvirt short_description: Manages virtual machines supported by libvirt
description: description:
- Manages virtual machines supported by I(libvirt). - Manages virtual machines supported by I(libvirt).
version_added: historical version_added: "0.2"
options: options:
name: name:
description: description:

@ -56,6 +56,7 @@ options:
chdir: chdir:
description: description:
- cd into this directory before running the command - cd into this directory before running the command
version_added: "0.6"
required: false required: false
default: null default: null
executable: executable:

@ -10,7 +10,7 @@ description:
- The shell module takes the command name followed by a list of arguments, - The shell module takes the command name followed by a list of arguments,
space delimited. It is almost exactly like the M(command) module but runs space delimited. It is almost exactly like the M(command) module but runs
the command through a shell (C(/bin/sh)) on the remote node. the command through a shell (C(/bin/sh)) on the remote node.
version_added: historical version_added: "0.2"
options: options:
(free form): (free form):
description: description:

@ -25,7 +25,7 @@ module: mysql_db
short_description: Add or remove MySQL databases from a remote host. short_description: Add or remove MySQL databases from a remote host.
description: description:
- Add or remove MySQL databases from a remote host. - Add or remove MySQL databases from a remote host.
version_added: historical version_added: "0.6"
options: options:
name: name:
description: description:

@ -24,7 +24,7 @@ module: mysql_user
short_description: Adds or removes a user from a MySQL database. short_description: Adds or removes a user from a MySQL database.
description: description:
- Adds or removes a user from a MySQL database. - Adds or removes a user from a MySQL database.
version_added: historical version_added: "0.6"
options: options:
name: name:
description: description:

@ -22,7 +22,7 @@ module: postgresql_db
short_description: Add or remove PostgreSQL databases from a remote host. short_description: Add or remove PostgreSQL databases from a remote host.
description: description:
- Add or remove PostgreSQL databases from a remote host. - Add or remove PostgreSQL databases from a remote host.
version_added: historical version_added: "0.6"
options: options:
name: name:
description: description:

@ -34,7 +34,7 @@ description:
the module to try to remove the user, but if not possible keep going; the the module to try to remove the user, but if not possible keep going; the
module will report if changes happened and separately if the user was module will report if changes happened and separately if the user was
removed or not. removed or not.
version_added: historical version_added: "0.6"
options: options:
name: name:
description: description:

@ -36,7 +36,7 @@ description:
local or have already been transferred to the system, and concatenate them local or have already been transferred to the system, and concatenate them
together to produce a destination file. Files are assembled in string sorting order. together to produce a destination file. Files are assembled in string sorting order.
Puppet calls this idea I(fragments). Puppet calls this idea I(fragments).
version_added: historical version_added: "0.5"
options: options:
src: src:
description: description:

@ -10,7 +10,7 @@ description:
organized by hostname. Note that this module is written to transfer organized by hostname. Note that this module is written to transfer
log files that might not be present, so a missing remote file won't log files that might not be present, so a missing remote file won't
be an error unless fail_on_missing is set to 'yes'. be an error unless fail_on_missing is set to 'yes'.
version_added: historical version_added: "0.2"
options: options:
src: src:
description: description:

@ -25,7 +25,7 @@ module: async_status
short_description: Obtain status of asynchronous task short_description: Obtain status of asynchronous task
description: description:
- "This module gets the status of an asynchronous task." - "This module gets the status of an asynchronous task."
version_added: historical version_added: "0.5"
options: options:
jid: jid:
description: description:

@ -38,7 +38,7 @@ description:
(see `setting the environment (see `setting the environment
<http://www.ansibleworks.com/docs/playbooks_environment.html#setting-the-environment-and-working-with-proxies>`_), <http://www.ansibleworks.com/docs/playbooks_environment.html#setting-the-environment-and-working-with-proxies>`_),
or by using the use_proxy option. or by using the use_proxy option.
version_added: historical version_added: "0.6"
options: options:
url: url:
description: description:

@ -25,7 +25,7 @@ module: apt
short_description: Manages apt-packages short_description: Manages apt-packages
description: description:
- Manages I(apt) packages (such as for Debian/Ubuntu). - Manages I(apt) packages (such as for Debian/Ubuntu).
version_added: historical version_added: "0.0.2"
options: options:
pkg: pkg:
description: description:

@ -74,6 +74,7 @@ options:
description: description:
- The remote yum configuration file to use for the transaction. - The remote yum configuration file to use for the transaction.
required: false required: false
version_added: "0.6"
default: null default: null
aliases: [] aliases: []

@ -27,7 +27,7 @@ module: authorized_key
short_description: Adds or removes an SSH authorized key short_description: Adds or removes an SSH authorized key
description: description:
- Adds or removes an SSH authorized key for a user from a remote host. - Adds or removes an SSH authorized key for a user from a remote host.
version_added: historical version_added: "0.5"
options: options:
user: user:
description: description:

@ -28,7 +28,7 @@ description:
- Runs the I(facter) discovery program - Runs the I(facter) discovery program
(U(https://github.com/puppetlabs/facter)) on the remote system, returning (U(https://github.com/puppetlabs/facter)) on the remote system, returning
JSON data that can be useful for inventory purposes. JSON data that can be useful for inventory purposes.
version_added: historical version_added: "0.2"
options: {} options: {}
notes: [] notes: []
requirements: [ "facter", "ruby-json" ] requirements: [ "facter", "ruby-json" ]

@ -22,7 +22,7 @@ DOCUMENTATION = '''
--- ---
module: group module: group
author: Stephen Fromm author: Stephen Fromm
version_added: historical version_added: "0.0.2"
short_description: Add or remove groups short_description: Add or remove groups
requirements: [ groupadd, groupdel, groupmod ] requirements: [ groupadd, groupdel, groupmod ]
description: description:

@ -26,7 +26,7 @@ module: mount
short_description: Control active and configured mount points short_description: Control active and configured mount points
description: description:
- This module controls active and configured mount points in C(/etc/fstab). - This module controls active and configured mount points in C(/etc/fstab).
version_added: historical version_added: "0.6"
options: options:
name: name:
description: description:

@ -28,7 +28,7 @@ description:
(U(http://wiki.opscode.com/display/chef/Ohai)) on the remote host and (U(http://wiki.opscode.com/display/chef/Ohai)) on the remote host and
returns JSON inventory data. returns JSON inventory data.
I(Ohai) data is a bit more verbose and nested than I(facter). I(Ohai) data is a bit more verbose and nested than I(facter).
version_added: historical version_added: "0.6"
options: {} options: {}
notes: [] notes: []
requirements: [ "ohai" ] requirements: [ "ohai" ]

@ -22,7 +22,7 @@ DOCUMENTATION = '''
--- ---
module: user module: user
author: Stephen Fromm author: Stephen Fromm
version_added: historical version_added: "0.2"
short_description: Manage user accounts short_description: Manage user accounts
requirements: [ useradd, userdel, usermod ] requirements: [ useradd, userdel, usermod ]
description: description:

Loading…
Cancel
Save