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 任务,而是充当一个中继或代理,将任务分配到真正的执行节点上

相关推荐
神秘奇男子1 分钟前
openEuler 25.09 企业级 MySQL主从复制部署与性能优化实战提升50%
linux·mysql
moringlightyn23 分钟前
进程控制(程序替换+自定义Shell)
linux·服务器·c++·笔记·c·shell·进程
Evan芙36 分钟前
用fping编写脚本扫描10.0.0.0/24网段在线主机
linux·运维·网络·excel
小毛驴85043 分钟前
nrm test 所有源超时解决办法
linux·服务器·网络
SongYuLong的博客1 小时前
ARM Linux 交叉编译工具链(toolchain)
linux·运维·arm开发
云计算老刘1 小时前
Shell三剑客 : 2. sed 使用手册
linux·运维·服务器
qq_479875431 小时前
Linux 网络实验(3)
linux·运维·网络
誰能久伴不乏1 小时前
为什么 TCP 服务端重启会出现 “Address already in use”问题解析
linux·服务器·c语言·网络·c++·tcp/ip
last demo1 小时前
grep和sed
linux·运维·前端·chrome
VekiSon1 小时前
gdb工具介绍
linux·c语言