# Ansible Aruba Switching Automation Workflow GitHub
Welcome to the Aruba Switching Automation Workflow GitHub for automation with Ansible!
This repository uses [Ansible tasks lists](https://github.com/aruba/aruba-switch-ansible/tree/master/aruba_task_lists), [SSH modules](https://github.com/aruba/aruba-switch-ansible/tree/master/library), and the [Aruba Switching Ansible Modules](https://github.com/aruba/aruba-ansible-modules)
to configure ArubaOS-Switch and ArubaOS-CX devices.
## Prerequisites
This project has been tested on Ubuntu 18.04 and CentOS 7 Linux OS but it can be used on any Linux based system.
### Installations
* The project requires to have **Python2.7** or **Python3.5** and at least **Ansible 2.5** installed on your System. See [Ansible Documentation](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html) for more information on Ansible installation.
* This project requires following Python Libraries to be installed.
* **Names: "requests", "urllib3", "paramiko"**
* This project requires [Aruba Switching Ansible Modules](https://github.com/aruba/aruba-ansible-modules) to be installed
### Module Installation
* [Modules Installer and Documentation](https://github.com/aruba/aruba-ansible-modules)
## Workflows
This project currently holds the following Workflow Documentation. Please click on each link to see further information about the Workflow.
#### Inventory Set Up
See the documented steps on how to set up your inventory to use the workflows in this project here: [Project Inventory Set Up](https://github.com/aruba/aruba-switch-ansible/wiki/Project-Inventory-Set-Up)
## Workflows
This project currently holds the following Workflow Documentation. Please click on each link to see further information about the Workflow.
* [ArubaOS-CX Module Configuration Example](https://github.com/aruba/aruba-switch-ansible/wiki/ArubaOS-CX-Module-Configuration-Example)
* [ArubaOS-CX Task Configuration Example](https://github.com/aruba/aruba-switch-ansible/wiki/ArubaOS-CX-Task-Configuration-Example)
* [ArubaOS-Switch and ArubaOS-CX Config Generation](https://github.com/aruba/aruba-switch-ansible/wiki/ArubaOS-Switch-and-ArubaOS-CX-Config-Generation)
* [ArubaOS-Switch Firmware Upgrade Example](https://github.com/aruba/aruba-switch-ansible/wiki/ArubaOS-Switch-Firmware-Upgrade-Example)
* [ArubaOS-Switch Module Configuration Example](https://github.com/aruba/aruba-switch-ansible/wiki/ArubaOS-Switch-Module-Configuration-Example)
* [ArubaOS-Switch Task Configuration Example](https://github.com/aruba/aruba-switch-ansible/wiki/ArubaOS-Switch-Task-Configuration-Example)
* [Zero Touch Provisioning (ZTP) Workflow](https://github.com/aruba/aruba-switch-ansible/wiki/Zero-Touch-Provisioning-(ZTP)-Workflow)
##### Ansible Tower
* [Ansible Tower Integration](https://github.com/aruba/aruba-switch-ansible/wiki/Ansible-Tower-Integration)
## Project Structure
```bash
├───aruba_task_lists # Ansible Task Lists
│ ├───aos_cx # Task Lists for ArubaOS-CX
│ ├───aos_switch # Task Lists for ArubaOS-Switch
│ └───ztp # Task Lists for the ZTP Solution
├───config # Place for generated switch configs
├───files # Place for any additional files that are used in tasks
├───filter_plugins # Ansible default directory for custom filter plugins
├───group_vars # Branch related variables
├───host_vars # Host related variables
├───images # Directory for images in Wiki
├───inventory # System related variables
├───inventory_creation_scipts # Scripts to create parts of the inventory from sources i.e. csv
├───library # Ansible default directory for custom modules
├───lookup_plugins # Ansible default directory for custom lookup plugins
├───templates # Place to hold Jinja templates for config generation
├───vault # Vault directory to save certain variables encrypted
└───ztp_logs # Directory for additional logs that get created in the ZTP Solution
└───ansible.cfg # Ansible configuration
└───arubaoscx_module_config_example.yml # Playbook for example usage of ArubaOS-CX Modules.
└───arubaoscx_tasks_config_example.yml # Playbook for ArubaOS-CX Task List Configuration Example Workflow
└───arubaoss_firmware_example.yml # Playbook for ArubaOS-Switch Firmware Upgrade Example Workflow
└───arubaoss_module_config_example.yml # Playbook for example usage of ArubaOS-Switch Modules.
└───arubaoss_tasks_config_example.yml # Playbook for ArubaOS-Switch Task List Configuration Example Workflow
└───config_generator.yml # Playbook for ArubaOS-Switch and ArubaOS-CX Config Generation Workflow
└───ztp_start.yml # Playbook for Zero Touch Provisioning (ZTP) Workflow
```
没有合适的资源?快使用搜索试试~ 我知道了~
aruba-switch-ansible:ArubaOS-switch和ArubaOS-CX的Ansible工作流程和模块
共89个文件
yml:61个
py:8个
j2:8个
需积分: 9 3 下载量 175 浏览量
2021-01-31
07:36:51
上传
评论
收藏 250KB ZIP 举报
温馨提示
Ansible Aruba交换自动化工作流程GitHub 欢迎使用Aruba交换自动化工作流程GitHub,实现Ansible的自动化! 该存储库使用, 和来配置ArubaOS-Switch和ArubaOS-CX设备。 先决条件 该项目已经在Ubuntu 18.04和CentOS 7 Linux OS上进行了测试,但是可以在任何基于Linux的系统上使用。 装置 该项目需要在系统上安装Python2.7或Python3.5以及至少Ansible 2.5 。 有关Ansible安装的更多信息,请参见。 该项目需要安装以下Python库。 名称:“ requests”,“ urllib3”,“ paramiko” 该项目需要安装 模块安装 工作流程 该项目当前包含以下工作流程文档。 请单击每个链接以查看有关工作流的更多信息。 库存设置 请在此处查看有关如何设置库存以使用此项目中的工作流的记录步骤: 工作流程 该项目当前包含以下工作流程文档。 请单击每个链接以查看有关工作流的更多信息。 天使塔 项目结构 ├───aruba_task_lists # Ans
资源详情
资源评论
资源推荐
收起资源包目录
aruba-switch-ansible-master.zip (89个子文件)
aruba-switch-ansible-master
arubaoss_tasks_config_example.yml 4KB
aruba_task_lists
aos_cx
login_cx.yml 437B
logout_cx.yml 381B
reboot.yml 669B
evpn.yml 2KB
change_if_state.yml 969B
change_if_description.yml 957B
add_int_to_lag.yml 2KB
lldp_cx.yml 433B
lag_config.yml 2KB
vxlan.yml 3KB
bgp_neighbor.yml 2KB
aos_switch
set_jumbo.yml 842B
firmware_upgrade_api_v3.yml 6KB
cli_batch.yml 611B
ssh_cli_module_user.yml 3KB
reboot.yml 942B
hostname_switch.yml 479B
cert_upload.yml 1KB
login_switch.yml 469B
set_dns.yml 608B
snmp_server_host.yml 1KB
anycli.yml 698B
spanning_tree_global.yml 1KB
ip_change_switch.yml 869B
logout_switch.yml 405B
create_snmp_community.yml 1KB
spanning_tree_port.yml 2KB
firmware_upgrade.yml 5KB
ztp
configure.yml 4KB
arubaoss_module_config_example.yml 5KB
ztp_start.yml 2KB
aoscx_deploy_ospf_fabric.yml 4KB
images
aoscx_spine_leaf_topo.PNG 111KB
ztp_diagram.png 68KB
aoscx_role_configure_acls.yml 447B
vault
README.md 144B
filter_plugins
ztp_filter.py 5KB
common_filters.py 2KB
aos_switch_filters.py 3KB
aos_cx_filter.py 917B
ansible.cfg 75B
library
arubaos_cx_ssh_cli.py 7KB
arubaos_switch_ssh_cli.py 14KB
CONTRIBUTING.md 6KB
config
README.md 122B
group_vars
leafs.yml 185B
spines.yml 139B
branch1_cxs.yml 307B
branch1_switches.yml 529B
branch1.yml 164B
branch1_dcn_switches.yml 336B
aoscx_switches.yml 122B
arubaoscx_tasks_config_example.yml 2KB
README.md 5KB
lookup_plugins
ztp_vars.py 9KB
ztp_logs
README.md 101B
aoscx_deploy_ebgp_evpn_vxlan_fabric.yml 7KB
inventory_creation_scripts
create_host_vars.py 2KB
mac_ip1.csv 84B
arubaoscx_module_config_example.yml 2KB
host_vars
Spine1.yml 391B
Leaf3b.yml 292B
Leaf2b.yml 291B
Leaf2a.yml 288B
Leaf3a.yml 290B
Leaf1a.yml 284B
Leaf1b.yml 286B
Spine2.yml 393B
sw-aa-bb-cc-dd-ee-ff_template.yml 62B
cx-aa-bb-cc-dd-ee-ff_template.yml 73B
config_generator.yml 2KB
inventory
ospf_fabric_inventory.yml 3KB
spine_leaf_inventory.yml 3KB
ebgp_evpn_vxlan_fabric.yml 735B
hosts.yml 441B
License.md 10KB
arubaoss_firmware_example.yml 5KB
templates
leaf_base_config.j2 1KB
switch_base_conf.j2 880B
leaf.j2 2KB
spine.j2 2KB
cx_base_conf.j2 2KB
spine_base_config.j2 816B
.gitignore 6B
files
apache.conf.j2 284B
index.html.j2 183B
README.md 165B
vars_files
acl_entries.yml 2KB
共 89 条
- 1
信念与梦想
- 粉丝: 40
- 资源: 4659
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0