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

相关推荐
未济2 天前
linux 配置环境变量
linux
傲世仙尊2 天前
目录即文件-Ext文件系统收尾篇
linux·c语言
_艾伦 耶格尔.2 天前
进程间通信
linux
Liuqy-052 天前
Linux IO编程——静态库、动态库
linux
彧azz2 天前
Linux 环境下 Redis 学习总结:数据类型、持久化、锁、事务、主从与缓存问题
linux·redis·笔记·学习·面试
-梅2 天前
linux(8) 软硬链接
linux·运维·服务器
AIgorithmGEEK2 天前
[Linux]线程三部曲(上):一个执行流的诞生——从操作系统一路拆到 pthread_create
linux·线程·pid
琥珀色糖2 天前
SimlpeHttp
linux·服务器
qeen872 天前
【Linux】操作系统之进程介绍(二)
linux·笔记·学习·进程
Zenova EdgeOS2 天前
Linux ss 工业边缘网络分析实战
linux·python·边缘计算·工业网关