Document list on service module
This commit is contained in:
parent
8559f0167d
commit
f81000c127
1 changed files with 6 additions and 3 deletions
|
@ -49,7 +49,7 @@ install a specific version of the foo package.
|
|||
|
||||
*state*:
|
||||
|
||||
* Can be either 'installed', 'removed', or 'latest'. The default is 'installed'.
|
||||
* Can be either 'installed', 'removed', or 'latest'. The default is 'installed'. (In 0.4 and later, the aliases 'absent' and 'present' can also be used. They correspond with 'removed' and 'installed')
|
||||
|
||||
*update-cache*:
|
||||
|
||||
|
@ -360,6 +360,10 @@ Controls services on remote machines.
|
|||
* (new in 0.4) Whether the service should start on boot. Either 'yes' or 'no'.
|
||||
Uses chkconfig or updates-rc.d as appropriate.
|
||||
|
||||
*list*:
|
||||
|
||||
* (new in 0.4) When used with the value 'status', returns the status of the service along with other results. This is primarily useful for /usr/bin/ansible, and not meaningful for playbooks.
|
||||
|
||||
*name*:
|
||||
|
||||
* The name of the service.
|
||||
|
@ -370,7 +374,6 @@ Example action from Ansible :doc:`playbooks`::
|
|||
service name=httpd state=stopped
|
||||
service name=httpd state=restarted
|
||||
|
||||
|
||||
.. _setup:
|
||||
|
||||
setup
|
||||
|
@ -648,7 +651,7 @@ Will install, upgrade, remove, and list packages with the yum package manager.
|
|||
|
||||
*state*:
|
||||
|
||||
* Can be either 'installed', 'latest', or 'removed'. The default is 'installed'.
|
||||
* Can be either 'installed', 'latest', or 'removed'. The default is 'installed'. (In 0.4 and later, the aliases 'absent' and 'present' can also be used. They correspond with 'removed' and 'installed')
|
||||
|
||||
*list*:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue