ansible使用yum源安装http服务

2024-10-22 21:29:43

1、部署两台centos7系统:192.168.1.8作为ansible节点192.1瀵鸦铙邮68.1.4作为服务节点

ansible使用yum源安装http服务

3、在服务节点准备yum源

ansible使用yum源安装http服务

5、执行yml脚本

ansible使用yum源安装http服务

7、从ansible节点访问服务节点,确认访问内容是定义的内容,与预期一致,httpd服务安装成功

ansible使用yum源安装http服务
猜你喜欢