Skip to content

Instantly share code, notes, and snippets.

@rdmarsh
Last active December 1, 2015 09:11
Show Gist options
  • Select an option

  • Save rdmarsh/be53ff50f43f41f63e95 to your computer and use it in GitHub Desktop.

Select an option

Save rdmarsh/be53ff50f43f41f63e95 to your computer and use it in GitHub Desktop.
How to fix "No hosts found with target * of type glob" for salt-ssh

If you get this error when running sudo salt-ssh '*' test.ping:

"No hosts found with target * of type glob"

Check the file /etc/salt/roster for fomatting errors.

Note: It doesn't like tabs.

@skitoo

skitoo commented Dec 1, 2015

Copy link
Copy Markdown

I have the same problem but I don't use tabs in my roster file. I use 2 spaces by tab.
Do you have an other idea to solve this problem ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment