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

相关推荐
心之王者71610 小时前
【Linux】多线程:从线程控制、同步互斥到经典并发模型
linux·运维·服务器
Doctor_Strange_DML10 小时前
图像编辑模型服务部署过程记录
linux·缓存·docker·ai
笔记本note15 小时前
Linux 文件系统与设备文件
linux·服务器·文件系统
无足鸟ICT15 小时前
【RHCA+】_proc_pid_cmdline
linux·运维·服务器
学以智用16 小时前
CentOS Linux 文件操作详解
linux
饿了吃洗衣凝珠17 小时前
shell循环
linux·运维·服务器
代码不停18 小时前
Linux基础知识
java·linux·数据库
东风微鸣18 小时前
Linux台式机也能指纹识别登录验证啦
linux·指纹
路溪非溪21 小时前
USB的基础知识总结
linux
女神下凡21 小时前
芯易选(143):晶视智能(CVITEK)_开发指南
linux·arm开发·stm32·单片机·嵌入式硬件