Debian Codegraph @

ansible_collections/dellemc/openmanage/playbooks/ome/ome_smart_fabric.yml

raw symbols SCIP
1 ---
2 - name: Dell OpenManage Ansible smart fabric operations.
3 hosts: ome
4 gather_facts: false
5
6 tasks:
7 - name: Create a smart fabric
8 dellemc.openmanage.ome_smart_fabric:
9 hostname: "{{ hostname }}"
10 username: "{{ username }}"
11 password: "{{ password }}"
12 ca_path: "/path/to/ca_cert.pem"
13 state: present
14 name: "fabric1"
15 description: "fabric desc"
16 fabric_design: "2xMX9116n_Fabric_Switching_Engines_in_different_chassis"
17 primary_switch_service_tag: "SVTG123"
18 secondary_switch_service_tag: "PXYT456"
19 override_LLDP_configuration: "Enabled"
20 tags: create_smart_fabric
21 delegate_to: localhost
22
23 - name: Modify a smart fabric
24 dellemc.openmanage.ome_smart_fabric:
25 hostname: "{{ hostname }}"
26 username: "{{ username }}"
27 password: "{{ password }}"
28 ca_path: "/path/to/ca_cert.pem"
29 state: present
30 name: "fabric1"
31 new_name: "fabric_gold1"
32 description: "new description"
33 tags: modify_smart_fabric
34 delegate_to: localhost
35
36 - name: Delete a smart fabric
37 dellemc.openmanage.ome_smart_fabric:
38 hostname: "{{ hostname }}"
39 username: "{{ username }}"
40 password: "{{ password }}"
41 ca_path: "/path/to/ca_cert.pem"
42 state: "absent"
43 name: "fabric1"
44 tags: delete_smart_fabric
45 delegate_to: localhost