Debian Codegraph @

ansible_collections/dellemc/openmanage/playbooks/ome/application/ome_application_security_settings.yml

raw symbols SCIP
1 ---
2 - name: Configure login security settings
3 hosts: ome
4 gather_facts: false
5
6 tasks:
7 - name: Configure restricted allowed IP range
8 dellemc.openmanage.ome_application_security_settings:
9 hostname: "{{ hostname }}"
10 username: "{{ username }}"
11 password: "{{ password }}"
12 ca_path: "/path/to/ca_cert.pem"
13 restrict_allowed_ip_range:
14 enable_ip_range: true
15 ip_range: 192.1.2.3/24
16 delegate_to: localhost
17
18 - name: Configure login lockout policy
19 dellemc.openmanage.ome_application_security_settings:
20 hostname: "{{ hostname }}"
21 username: "{{ username }}"
22 password: "{{ password }}"
23 ca_path: "/path/to/ca_cert.pem"
24 login_lockout_policy:
25 by_user_name: true
26 by_ip_address: true
27 lockout_fail_count: 3
28 lockout_fail_window: 30
29 lockout_penalty_time: 900
30 delegate_to: localhost
31
32 - name: Configure restricted allowed IP range and login lockout policy with job wait time out of 60 seconds
33 dellemc.openmanage.ome_application_security_settings:
34 hostname: "{{ hostname }}"
35 username: "{{ username }}"
36 password: "{{ password }}"
37 ca_path: "/path/to/ca_cert.pem"
38 restrict_allowed_ip_range:
39 enable_ip_range: true
40 ip_range: 192.1.2.3/24
41 login_lockout_policy:
42 by_user_name: true
43 by_ip_address: true
44 lockout_fail_count: 3
45 lockout_fail_window: 30
46 lockout_penalty_time: 900
47 job_wait_timeout: 60
48 delegate_to: localhost
49
50 - name: Enable FIPS mode
51 dellemc.openmanage.ome_application_security_settings:
52 hostname: "{{ hostname }}"
53 username: "{{ username }}"
54 password: "{{ password }}"
55 ca_path: "/path/to/ca_cert.pem"
56 fips_mode_enable: true
57 delegate_to: localhost