Note
This plugin is part of the community.network collection.
To install it use: ansible-galaxy collection install community.network.
To use it in a playbook, specify: community.network.pn_connection_stats_settings.
| Parameter | Choices/Defaults | Comments |
|---|---|---|
| pn_client_server_stats_log_disk_space string | disk-space allocated for statistics (including rotated log files). | |
| pn_client_server_stats_log_enable boolean |
| Enable or disable statistics. |
| pn_client_server_stats_log_interval string | interval to collect statistics. | |
| pn_client_server_stats_max_memory string | maximum memory for client server statistics. | |
| pn_cliswitch string | Target switch to run the CLI on. | |
| pn_connection_backup_enable boolean |
| Enable backup for connection statistics collection. |
| pn_connection_backup_interval string | backup interval for connection statistics collection. | |
| pn_connection_max_memory string | maximum memory allowed for connection statistics. | |
| pn_connection_stats_log_disk_space string | disk-space allocated for statistics (including rotated log files). | |
| pn_connection_stats_log_enable boolean |
| enable or disable statistics. |
| pn_connection_stats_log_interval string | interval to collect statistics. | |
| pn_connection_stats_max_memory string | maximum memory allowed for connection statistics. | |
| pn_enable boolean |
| Enable or disable collecting connections statistics. |
| pn_fabric_connection_backup_enable boolean |
| enable backup for fabric connection statistics collection. |
| pn_fabric_connection_backup_interval string | backup interval for fabric connection statistics collection. | |
| pn_fabric_connection_max_memory string | maximum memory allowed for fabric connection statistics. | |
| pn_service_stat_max_memory string | maximum memory allowed for service statistics. | |
| state string / required |
| State the action to perform. Use update to modify the connection-stats-settings. |
- name: "Modify connection stats settings"
community.network.pn_connection_stats_settings:
pn_cliswitch: "sw01"
state: "update"
pn_enable: False
pn_fabric_connection_max_memory: "1000"
- name: "Modify connection stats settings"
community.network.pn_connection_stats_settings:
pn_cliswitch: "sw01"
state: "update"
pn_enable: True
Common return values are documented here, the following are the fields unique to this module:
| Key | Returned | Description |
|---|---|---|
| changed boolean | always | indicates whether the CLI caused changes on the target. |
| command string | always | the CLI command run on the target node. |
| stderr list / elements=string | on error | set of error responses from the connection-stats-settings command. |
| stdout list / elements=string | always | set of responses from the connection-stats-settings command. |
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/network/pn_connection_stats_settings_module.html