Hello,
im trying to using a groups vars out side of inventory, but not working
my file struct:
work this form:
eco-sql-dev.ini
`
[win-mssql]
lab-sql1.DOMAIN.cl
[win-mssql:vars]
ansible_user=svc-ansible-dev@DOMAIN.CL
ansible_password=PASS
ansible_port=5986
ansible_connection=winrm
ansible_winrm_server_cert_validation=ignore
ansible_winrm_transport=kerberos
ansible_winrm_service=HOST
`
not work this form
eco-sql-dev.ini
`
[win-mssql]
lab-sql1.DOMAIN.cl
`
groups_vars/win-mssql.ini
`
ansible_user=svc-ansible-dev@DOMAIN.CL
ansible_password=PASS
ansible_port=5986
ansible_connection=winrm
ansible_winrm_server_cert_validation=ignore
ansible_winrm_transport=kerberos
ansible_winrm_service=HOST
`
command to test
`
ansible all -i /etc/ansible/_inventories/staging/eco-SQL-dev.ini -m win_ping -vvvv
`