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

相关推荐
CYRUS_STUDIO1 天前
用 Frida 控制 Android 线程:kill 命令、挂起与恢复全解析
android·linux·逆向
熊猫李1 天前
rootfs-根文件系统详解
linux
dessler1 天前
Hadoop HDFS-高可用集群部署
linux·运维·hdfs
泽泽爱旅行1 天前
awk 语法解析-前端学习
linux·前端
轻松Ai享生活2 天前
5 节课深入学习Linux Cgroups
linux
christine-rr2 天前
linux常用命令(4)——压缩命令
linux·服务器·redis
三坛海会大神5552 天前
LVS与Keepalived详解(二)LVS负载均衡实现实操
linux·负载均衡·lvs
東雪蓮☆2 天前
深入理解 LVS-DR 模式与 Keepalived 高可用集群
linux·运维·服务器·lvs
乌萨奇也要立志学C++2 天前
【Linux】进程概念(二):进程查看与 fork 初探
linux·运维·服务器
獭.獭.2 天前
Linux -- 信号【上】
linux·运维·服务器