Debian Codegraph @

ansible_collections/ibm/storage_virtualize/playbooks/security_mgmt.yml

raw symbols SCIP
1 - name: Using Storage Virtualize collection to change security settings
2 hosts: localhost
3 vars:
4 clustername: 'clustername'
5 username: 'username'
6 password: 'password'
7 gather_facts: false
8 connection: local
9 tasks:
10 - name: Fetch cluster auth token
11 register: auth
12 no_log: true
13 ibm.storage_virtualize.ibm_svc_auth:
14 clustername: "{{ clustername }}"
15 username: "{{ username }}"
16 password: "{{ password }}"
17
18 - name: Change max failed login limit
19 ibm.storage_virtualize.ibm_sv_manage_security:
20 clustername: "{{ clustername }}"
21 token: "{{ auth.token }}"
22 log_path: "/tmp/playbook.debug"
23 maxfailedlogins: 5
24
25 - name: Change SSH protocol level
26 ibm.storage_virtualize.ibm_sv_manage_security:
27 clustername: "{{ clustername }}"
28 token: "{{ auth.token }}"
29 log_path: "/tmp/playbook.debug"
30 sshprotocol: 2