KP
Size: a a a
KP
ЕС
KP
ЕС
KP
KP
KP
c
(3002) [root@salt-master-ams test]# salt-ssh --roster=ansible -H all test.ping
[WARNING ] salt.loaded.int.roster.ansible.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'ansible', please fix this.
[ERROR ] Unable to load range library
[ERROR ] An un-handled exception was caught by salt's global exception handler:
KeyError: 'host'
Traceback (most recent call last):
File "/root/3002/bin/salt-ssh", line 6, in <module>
exec(compile(open(__file__).read(), __file__, 'exec'))
File "/root/3002/salt/scripts/salt-ssh", line 9, in <module>
salt_ssh()
File "/root/3002/salt/salt/scripts.py", line 479, in salt_ssh
client.run()
File "/root/3002/salt/salt/cli/ssh.py", line 26, in run
ssh.run()
File "/root/3002/salt/salt/client/ssh/__init__.py", line 734, in run
hostname = self.__parsed_rosters[roster_file][host_id]["host"]
KeyError: 'host'
Traceback (most recent call last):
File "/root/3002/bin/salt-ssh", line 6, in <module>
exec(compile(open(__file__).read(), __file__, 'exec'))
File "/root/3002/salt/scripts/salt-ssh", line 9, in <module>
salt_ssh()
File "/root/3002/salt/salt/scripts.py", line 479, in salt_ssh
client.run()
File "/root/3002/salt/salt/cli/ssh.py", line 26, in run
ssh.run()
File "/root/3002/salt/salt/client/ssh/__init__.py", line 734, in run
hostname = self.__parsed_rosters[roster_file][host_id]["host"]
KeyError: 'host'
[ERROR ] Unable to load range library
pip install range
дейс
тивтельно что-то поставил (в requirements.txt такой либы нет), но ошибка не изменилась.KP
KP
GG
KP
KP
KP
KP