ieisystem.inmanage.edit_m6_log_setting – Set bmc system and audit log setting¶
Note
This plugin is part of the ieisystem.inmanage collection.
To install it use: ansible-galaxy collection install ieisystem.inmanage
.
To use it in a playbook, specify: ieisystem.inmanage.edit_m6_log_setting
.
New in version 1.0.0: of ieisystem.inmanage
Synopsis¶
Set bmc system and audit log setting on ieisystem Server.
Only the M6 models support this feature.
Requirements¶
The below requirements are needed on the host that executes this module.
Python 3.7+
inManage
Parameters¶
Examples¶
- name: Edit log setting test
hosts: inmanage
connection: local
gather_facts: no
vars:
inmanage:
host: "{{ ansible_ssh_host }}"
username: "{{ username }}"
password: "{{ password }}"
tasks:
- name: "Edit bmc system log setting"
ieisystem.inmanage.edit_m6_log_setting:
status: "disable"
provider: "{{ inmanage }}"
- name: "Edit bmc audit log setting"
ieisystem.inmanage.edit_m6_log_setting:
status: "enable"
host_tag: "HostName"
level: "Info"
protocol_type: "TCP"
server_id: 0
server_addr: "100.2.126.11"
server_port: 514
log_type: "both"
provider: "{{ inmanage }}"
- name: "test bmc audit log"
ieisystem.inmanage.edit_m6_log_setting:
server_id: 0
test: True
provider: "{{ inmanage }}"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
WangBaoshan (@ieisystem)