inspur.sm.system_log_info – Get BMC system log information.¶
Note
This plugin is part of the inspur.sm collection (version 1.1.2).
To install it use: ansible-galaxy collection install inspur.sm
.
To use it in a playbook, specify: inspur.sm.system_log_info
.
New in version 0.1.0: of inspur.sm
Parameters¶
Examples¶
- name: Bmc system log info test
hosts: ism
connection: local
gather_facts: no
vars:
ism:
host: "{{ ansible_ssh_host }}"
username: "{{ username }}"
password: "{{ password }}"
tasks:
- name: "Get bmc system log information"
inspur.sm.system_log_info:
level: "alert"
log_time: "2020-06-01T12:30+08:00"
provider: "{{ ism }}"
- name: "Get bmc system log information"
inspur.sm.system_log_info:
count: 30
provider: "{{ ism }}"
- name: "Get bmc system log information"
inspur.sm.system_log_info:
system_file: "/home/wbs/wbs.log"
provider: "{{ ism }}"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
WangBaoshan (@ISIB-group)