Ansible Automation Platform(RHAAP2)架构中的四种节点及配置

在清单文件inventory中配置

#自动化控制节点设置

automationcontroller

example.com #默认为混合节点

control.example node_type=control #作为控制节点,仅负责自动化的平台运行

hybrid.example node_type=hybrid #作为混合节点,即是自动化平台又是任务的执行节点
#定义了 automationcontroller 组的变量。该组中的所有主机都会应用这些变量。

automationcontroller:vars

peers=execution_nodes

#设置了一个名为 peers 的变量,其值为 execution_nodes。这个变量告诉 automationcontroller 组中的主机,它们的"同行"节点是 execution_nodes 组中的节点。意味着控制节点将识别并与这些执行节点协作
#执行节点设置

execution_nodes

execution.com #默认为执行节点

hop.example node_type=hop #作为跳跃节点

execution.example node_type=execution #作为执行节点

#执行节点,仅是任务的执行节点(也就是该节点只会运行自动化的执行环境)

#跳跃节点:将作业转发到其他执行节点。跃点节点本身并不实际执行 Ansible 任务,而是充当一个中继或代理,将任务分配到真正的执行节点上

相关推荐
orion572 天前
Missing Semester Class1:course overview and introduction of shell
linux
用户120487221612 天前
Linux驱动编译与加载
linux·嵌入式
用户805533698032 天前
Input 子系统架构:Core、Handler、Driver 三层是怎么协作的
linux·嵌入式
用户805533698032 天前
RK-Forge外设系列开篇 - 把板子从「能启动」变成「能用」:Ethernet/SPI/MMC 三个纯接线外设
linux·github·嵌入式
七歌杜金房3 天前
我终于又有了自己的 Linux 电脑
linux·debian·mac
tntxia4 天前
linux curl命令详解_curl详解
linux
扛枪的书生4 天前
Linux 网络管理器用法速查
linux
顺风尿一寸4 天前
Java Socket 内核之旅:从 SocketChannel.read() 到 tcp_recvmsg 与 epoll 的完整调用链路
linux
XIAOHEZIcode4 天前
Ubuntu 终端美化全栈指南:Bash 到 Kitty 踩坑实录
linux·ubuntu·命令行
唐青枫4 天前
别再只会用 cron:Linux systemd Timer 定时任务实战详解
linux