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

相关推荐
EmbeddedChen11 小时前
Linux 定时任务怎么设置?用 cron 自动执行脚本
linux·crontab·cron
东鹏特饮11 小时前
Ansible 自动化运维详细指南
ansible
wuminyu11 小时前
OpenJDK学习笔记:Native事件队列与Java回调背压
java·linux·c语言·jvm·c++
Techblog of HaoWANG11 小时前
具身智能机器人专题(4) Docker 实战
linux·运维·ubuntu·docker·容器·机器人·ollama
DeskUI~~13 小时前
8.4M,我把 Linux 变成了一块“磁盘”
linux·运维·服务器
少陽君13 小时前
如何在 PVE 中下载并导入 Ubuntu 24.04 Server 云镜像
linux·数据库·ubuntu
无足鸟ICT13 小时前
【RHCA+】_proc_pid_environ
linux·运维·服务器
wacsii15 小时前
【Linux操作系统】从零手写 mystdio:静态库、动态库制作与第三方链接踩坑
linux·服务器
嵌入式 Linux手记15 小时前
静态库动态库到底差在哪
linux·c语言·嵌入式
信安IT租赁16 小时前
小公司服务器的自启动脚本:用 systemd 做成服务,开机自动跑
linux·运维·服务器