一. ansible host 配置分组:
vi /etc/ansible/hosts
# Group1: static resource
[cms]
10.0.13.100
10.0.13.101
# Group2: inner project, such as operation backend
[inner]
10.0.14.100
# Group2: node server
[node]
10.0.15.100
vi /etc/ansible/hosts
# Group1: static resource
[cms]
10.0.13.100
10.0.13.101
# Group2: inner project, such as operation backend
[inner]
10.0.14.100
# Group2: node server
[node]
10.0.15.100
本文标题:ansible 简单入门
本文链接:https://www.haomeiwen.com/subject/ijvcjhtx.html
网友评论