test1/ansible/inventory.yml

37 lines
915 B
YAML
Raw Normal View History

2025-05-21 21:15:44 +03:00
all:
hosts:
first_vm:
ansible_host: 192.168.0.23
second_vm:
ansible_host: 192.168.0.27
tretiy_vm:
ansible_host: 192.168.0.28
vars:
ansible_user: ansible
ansible_password: 123qwe123
ansible_connection: ssh
ansible_port: 22
#-----------------------------------------------------------------------------------------------------------------
#all:
# hosts:
# first_vm:
# ansible_host: 192.168.0.23
# ansible_user: ansible
# ansible_password: 123qwe123
# ansible_connection: ssh
# ansible_port: 22
# second_vm:
# ansible_host: 192.168.0.27
# ansible_user: ansible
# ansible_password: 123qwe123
# ansible_connection: ssh
# ansible_port: 22
# tretiy_vm:
# ansible_host: 192.168.0.28
# ansible_user: ansible
# ansible_password: 123qwe123
# ansible_connection: ssh
# ansible_port: 22