[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

0 votes

I'm trying to run an ansible playbook and encountered the following warning:

 [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

What do I do?

Jan 21 in Ansible by Sitara
549 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hey @Sitara, 

 I just found it is because the temp path is not right. Go to your config file and change the temp path. I had to change it to the absolute path to make it work.

Hope it helps.

answered Jan 21 by Naina

Related Questions In Ansible

0 votes
1 answer
0 votes
1 answer

How do I make my_dir available for all hosts? - Ansible

Hey @Kiara,  f you want to make my_dir available to ...READ MORE

answered Feb 1 in Ansible by Anisha
14 views
0 votes
1 answer

Playbook to add hosts to the known hosts list - Ansible

Hey @Kiran, try something like this: - name: ...READ MORE

answered Mar 25 in Ansible by Haider
17 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.