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 小时前
nvm - node 版本管理工具【macOS/Linux】
linux·运维·macos
君穆南8 小时前
基于 NFS 与 Rsync 实现跨服务器 Seafile 数据平滑迁移实战
linux·运维·git
bloglin999998 小时前
scp、rsync远程文件同步
linux·运维·服务器
迦南的迦 亚索的索8 小时前
LINUX环境
linux·运维·服务器
yuanjj888 小时前
linux下调试域格CLM920 NC5等9x07平台模块 QMI拨号
linux·运维·服务器
IMPYLH9 小时前
Linux 的 printenv 命令
linux·运维·服务器·bash
SilentSamsara9 小时前
SSH 远程管理:密钥登录 + 隧道转发,一次性配置好
linux·运维·服务器·ubuntu·centos·ssh
LN花开富贵9 小时前
【ROS】鱼香ROS2学习笔记一
linux·笔记·python·学习·嵌入式·ros·agv
疏星浅月9 小时前
数据对齐的底层原理与性能优化
linux
Jurio.9 小时前
本机开发 + 多机执行的极简远端运行工具
linux·git·python·github·远程工作