blob: b59cb75dcccd7abfbc51ca5ba714857ae3b9ba48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
- name: bmc audit log test
hosts: ism
connection: local
gather_facts: no
vars:
ism:
host: "{{ ansible_ssh_host }}"
username: "{{ username }}"
password: "{{ password }}"
tasks:
- name: "get bmc audit log information"
inspur.sm.audit_log_info:
log_time: "2020-06-01T12:30+08:00"
provider: "{{ ism }}"
- name: "get bmc audit log information"
inspur.sm.audit_log_info:
count: 30
provider: "{{ ism }}"
- name: "get bmc audit log information"
inspur.sm.audit_log_info:
audit_file: "/home/wbs/wbs.log"
provider: "{{ ism }}"
|