Hello community, I am trying to generate a playbook using roles, but at the moment of executing the playbook it does not recognize the inventory hosts and does not execute the ROL
My structure: [image: Capture.PNG] <about:invalid#zClosurez> my inventorie .yml: win-mssql: hosts: lab-sql1.e-contact.cl deploy_win_mssql.yml: --- - name: Install SQL Server hosts: win_mssql roles: - roles/mssql/setup main.yml: --- #---- Instalcion de SQL segun version --- - include_tasks: "setup-sql-2016.yml" command to execute: ansible-playbook /etc/ansible/deploy_win_mssql.yml -i /etc/ansible/_inventories/staging/eco-sql-dev.ini -e @/etc/ansible/_creds/dev-creds.yml --vault-password-file /etc/ansible_pass -vvvv Error : PLAYBOOK: deploy_win_mssql.yml ************************************************************ 1 plays in /etc/ansible/deploy_win_mssql.yml [WARNING]: Could not match supplied host pattern, ignoring: win_mssql PLAY [Install SQL Server] ***************************************************************** skipping: no hosts matched PLAY RECAP ******************************************************************************** -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d72d4632-3dca-47b7-9329-857d928ea13a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
