root@MidLinux:/var# ansible-playbook -i '192.168.1.24,' SNMP.yml PLAY [SNMP] ******************************************************************* skipping: no hosts matched
In the yml file, I specify SNMP for group. If I leave this blank, I get: ERROR: hosts declaration is required SNMP is a real group in the hosts file. A hosts file is not practical for me since I have so many servers. Additionally, I would need a way to pass in SSH UN and PW since those parameters are also kept in the hosts file. Any help would be appreciated. On Sunday, May 18, 2014 9:10:39 PM UTC-7, Brian Coca wrote: > > what variations? what errors would you get? more information would be > useful for debugging. > > On Sun, May 18, 2014 at 11:46 PM, Noah Parker <[email protected]<javascript:> > > wrote: > >> " means that I tried using the command several times using variations in >> syntax and it was not successful. >> > > > > > -- > Brian Coca > Stultorum infinitus est numerus > > 0110000101110010011001010110111000100111011101000010000001111001011011110111010100100000011100110110110101100001011100100111010000100001 > Pedo mellon a minno > -- 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/0f991303-ebc1-44c0-ae8c-44343faa9afc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
