Server IP : 85.214.239.14 / Your IP : 3.147.46.174 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/root/proc/3/root/lib/python3/dist-packages/ansible_collections/dellemc/os6/ |
Upload File : |
# Ansible Network Collection for Dell EMC OS6 ## Collection contents This collection includes the Ansible modules, plugins and roles needed to privision and manage Dell EMC PowerSwitch platforms running Dell EMC OS6. Sample playbooks and documentation are also included to show how the collection can be used. ### Collection core modules - **os6_command.py** — Run commands on devices running OS6 - **os6_config.py** — Manage configuration on devices running OS6 - **os6_facts.py** — Collect facts from devices running OS6 ### Collection roles These roles facilitate provisioning and administration of devices running Dell EMC OS6. There are over 15 roles available that provide a comprehensive coverage of most OS6 resources, including os6_interface, os6_aaa, os6_bgp, and os6_xstp. The documentation for each role is at [OS6 roles](https://github.com/ansible-collections/dellemc.os6/blob/master/docs/roles.rst). ### Sample use case playbooks This collection inlcudes the following sample playbook that illustrate end to end use cases: - [iBGP](https://github.com/ansible-collections/dellemc.os6/blob/master/playbooks/ibgp/README.md) — Example playbook to configure iBGP between two routers ## Installation Use this command to install the latest version of the OS6 collection from Ansible Galaxy: ``` ansible-galaxy collection install dellemc.os6 ``` To install a specific version, a version range identifier must be specified. For example, to install the most recent version that is greater than or equal to 1.0.0 and less than 2.0.0: ``` ansible-galaxy collection install 'dellemc.os6:>=1.0.0,<2.0.0' ``` ## Version compatibility * Ansible version 2.10 or higher * Python 2.7 or higher and Python 3.5 or higher > **NOTE**: For Ansible versions lower than 2.10, use the legacy [dellos6 modules](https://ansible-dellos-docs.readthedocs.io/en/latest/modules.html#os6-modules) and [dellos roles](https://ansible-dellos-docs.readthedocs.io/en/latest/roles.html). ## Sample playbook **playbook.yaml** ``` - hosts: os6_switches connection: network_cli collections: - dellemc.os6 roles: - os6_vlan ``` **host_vars/os6_sw1.yaml** ``` hostname: os6_sw1 # Parameters for connection type network_cli ansible_ssh_user: xxxx ansible_ssh_pass: xxxx ansible_become: yes ansible_become_method: enable ansible_network_os: dellemc.os6.os6 # Create vlan100 and delete vlan888 os6_vlan: vlan 100: name: "Blue" state: present vlan 888: state: absent ``` **inventory.yaml** ``` [os6_sw1] os6_sw1 ansible_host= 100.94.51.40 [os6_sw2] os6_sw2 ansible_host= 100.94.52.38 [os6_switches:children] os6_sw1 os6_sw2 ``` (c) 2017-2020 Dell Inc. or its subsidiaries. All rights reserved.