nginx_status_facts – Retrieve nginx status facts¶
DEPRECATED¶
- Removed in Ansible
version: 2.13
- Why
Deprecated in favour of
_info
module.- Alternative
Use nginx_status_info instead.
Parameters¶
Parameter | Choices/Defaults | Comments |
---|---|---|
timeout
-
|
Default: 10
|
HTTP connection timeout in seconds.
|
url
-
/ required
|
URL of the nginx status.
|
Notes¶
Note
See http://nginx.org/en/docs/http/ngx_http_stub_status_module.html for more information.
Examples¶
# Gather status facts from nginx on localhost
- name: get current http stats
nginx_status_facts:
url: http://localhost/nginx_status
# Gather status facts from nginx on localhost with a custom timeout of 20 seconds
- name: get current http stats
nginx_status_facts:
url: http://localhost/nginx_status
timeout: 20
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
This module will be removed in version 2.13. [deprecated]
For more information see DEPRECATED.
Authors¶
René Moser (@resmo)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.