diff --git a/tests/molecule/resources/inventory/hosts.yml b/tests/molecule/resources/inventory/hosts.yml index c19544e0..6ded535b 100644 --- a/tests/molecule/resources/inventory/hosts.yml +++ b/tests/molecule/resources/inventory/hosts.yml @@ -3,9 +3,13 @@ all: # List of all servers, defining their alias and IP (hostname) hosts: # Host for your database server. Variables in host_vars/instance will be available to this host - instance: - hostname: "molecule.instance.local" - ansible_ip: "192.168.56.2" + centos7: + hostname: molecule.centos7.local + ansible_ip: 192.168.56.2 + ansible_port: 22 + rocky9: + hostname: molecule.rocky9.local + ansible_ip: 192.168.56.3 ansible_port: 22 # Ansible groups. Groups allow configuration and variables to be shared between hosts @@ -14,4 +18,5 @@ all: # All molecule servers. Variables in group_vars/molecule will be shared between these hosts molecule: hosts: - instance: + centos7: + rocky9: