network_interface:系统网络配置的角色 源码
network_interface 警告:使用此角色可能很危险。 如果您通过错误地配置网络而失去了与目标主机的网络连接,则可能在没有物理访问计算机的情况下无法恢复。 该角色使用户可以在目标计算机上配置各种网络组件。 该角色可用于配置: 以太网接口 桥接接口 绑定接口 网络路由 要求 此角色要求Ansible 1.4或更高版本,并且平台要求在元数据文件中列出。 角色变量 可以传递给此角色的变量及其简要说明如下: # The list of ethernet interfaces to be added to the system network_ether_interfaces: [] # The list of bridge interfaces to be added to the system network_bridge_interfaces: [] # The list o
下载地址
用户评论