community.network.pn_admin_syslog – CLI command to create/modify/delete admin-syslog¶
Note
This plugin is part of the community.network collection (version 1.3.2).
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.pn_admin_syslog
.
Synopsis¶
This module can be used to create the scope and other parameters of syslog event collection.
This module can be used to modify parameters of syslog event collection.
This module can be used to delete the scope and other parameters of syslog event collection.
Parameters¶
Examples¶
- name: Admin-syslog functionality
community.network.pn_admin_syslog:
pn_cliswitch: "sw01"
state: "absent"
pn_name: "foo"
pn_scope: "local"
- name: Admin-syslog functionality
community.network.pn_admin_syslog:
pn_cliswitch: "sw01"
state: "present"
pn_name: "foo"
pn_scope: "local"
pn_host: "166.68.224.46"
pn_message_format: "structured"
- name: Admin-syslog functionality
community.network.pn_admin_syslog:
pn_cliswitch: "sw01"
state: "update"
pn_name: "foo"
pn_host: "166.68.224.10"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Pluribus Networks (@rajaspachipulusu17)