mgmt/ansible/inventory.ini

8 lines
279 B
INI

[servers]
# 添加您的服务器信息,例如:
# server1 ansible_host=192.168.1.10 ansible_user=root
# server2 ansible_host=192.168.1.11 ansible_user=ubuntu ansible_become=yes
localhost ansible_connection=local
[all:vars]
ansible_ssh_common_args='-o StrictHostKeyChecking=no'