镜像概述
ansible_aio_ee是Ansible Controller/AWX的一体化执行环境。早期Ansible采用"内置电池"模式,安装后即可使用大部分模块,但随着模块数量增长,开发维护压力增大,Ansible团队移除了部分内置模块。本镜像旨在通过集成大量社区集合,帮助用户轻松"重新添加电池",实现在AWX或Automation Controller上便捷使用各类模块。
核心功能与特性
- 丰富的社区集合:包含89个最流行集合中的83个,覆盖云服务、网络设备、数据库、容器等多个领域
- 便捷使用:无需手动安装集合,可直接在AWX/Automation Controller中配置使用
- 广泛兼容性:支持各类常见Ansible模块,减少因缺少集合导致的任务失败
使用场景
- 需要在AWX或Ansible Automation Controller中运行包含多种模块的Ansible playbook的用户
- 希望快速部署执行环境,避免手动管理集合依赖的场景
- 需使用多种云服务(如AWS、Azure)、网络设备(如Cisco、Juniper)或数据库(如MySQL、PostgreSQL)模块的自动化任务
使用方法
基础安装
在AWX/Ansible Automation Controller界面中添加执行环境:
- 访问控制器UI:
https://awx/#/execution_environments/add
- 添加镜像地址:
docker.io/tomoliveri/ansible_aoi_ee:latest
- 在作业模板中按需选择该执行环境
高级安装
高级配置和自定义方法请参考GitHub仓库:https://github.com/tomoliveri/ansible_aio_ee
注意事项
- 模块失败可能原因:若使用中模块失败,极可能是由于缺少对应的Python库
- 问题反馈:遇到问题可联系作者或在GitHub仓库提交issue:https://github.com/tomoliveri/ansible_aio_ee
- 自定义环境:如需解决特定依赖问题,建议使用Ansible Builder构建精简的执行环境,详见:https://github.com/ansible/ansible-builder
包含的集合
- amazon.aws
- arista.eos
- awx.awx
- check_point.mgmt
- cisco.aci
- cisco.asa
- cisco.intersight
- cisco.ios
- cisco.iosxr
- cisco.meraki
- cisco.mso
- cisco.nso
- cisco.nxos
- cisco.ucs
- cloudscale_ch.cloud
- community.aws
- community.***
- community.digitalocean
- community.docker
- community.fortios
- community.general
- community.google
- community.grafana
- community.hashi_vault
- community.hrobot
- community.kubevirt
- community.kubernetes
- community.libvirt
- community.mongodb
- community.mysql
- community.network
- community.okd
- community.postgresql
- community.proxysql
- community.rabbitmq
- community.routeros
- community.skydive
- community.sops
- community.vmware
- community.windows
- community.zabbix
- containers.podman
- cyberark.conjur
- cyberark.pas
- dellemc.enterprise_sonic
- dellemc.openmanage
- dellemc.os10
- dellemc.os6
- dellemc.os9
- f5networks.f5_modules
- fortinet.fortimanager
- fortinet.fortios
- frr.frr
- gluster.gluster
- google.cloud
- hetzner.hcloud
- hpe.nimble
- ibm.qradar
- inspur.sm
- junipernetworks.junos
- kubernetes.core
- mellanox.onyx
- netapp.aws
- netapp.cloudmanager
- netapp.elementsw
- netapp.ontap
- netapp_eseries.santricity
- netbox.netbox
- ngine_io.cloudstack
- ngine_io.exoscale
- ngine_io.vultr
- openstack.cloud
- openvswitch.openvswitch
- ovirt.ovirt
- purestorage.flasharray
- purestorage.flashblade
- sensu.sensu_go
- servicenow.servicenow
- splunk.es
- t_systems_mms.icinga_director
- theforeman.foreman
- vyos.vyos
- wti.remote
排除的集合
因azure_compute问题禁用
- community.azure
- chocolatey.chocolatey
- azure.azcollection
- netapp.um_info
- netapp.azure
可能导致严重问题