0
0

added ansible.cfg for hosts file

This commit is contained in:
2023-01-19 21:32:55 +01:00
parent c06d2e9197
commit eabadfcb28
2 changed files with 3 additions and 1 deletions

2
ansible.cfg Normal file
View File

@@ -0,0 +1,2 @@
[defaults]
inventory=hosts.yml

View File

@@ -11,7 +11,7 @@
anygroup:
hosts:
server1:
server1:
ansible_host: 192.168.0.1
server2:
ansible_host: 192.168.0.2