Thank's my fault its work!!!! El lunes, 11 de febrero de 2019, 15:37:07 (UTC-3), lalo andres escribió: > > 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] > > > > > > > > > > > > > > > > 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/b8660f55-2533-42e0-8533-569e850ae102%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
