Warning saying WARNING No inventory was parsed only implicit localhost is available while running ansible playbook

0 votes

I'm trying to run an ansible playbook and I keep getting this warning

[WARNING]: No inventory was parsed, only implicit localhost is available

Warnings are not supposed to stop the execution but this one does.

Jan 22, 2019 in Ansible by Gargi
5,090 views
maybe you named directory of configration file somthing.cfg so you have to rename it to ansible.cfg it works with me

1 answer to this question.

0 votes
First of all make sure you have python, boto3, and botocore installed on your server and hosts. Also, make sure you install python version above 2.6 as the previous versions do not support ansible.
answered Jan 22, 2019 by Anisha

Related Questions In Ansible

0 votes
1 answer

Error saying script is already running - Ansible playbook error

Remove the previous processes before running this ...READ MORE

answered Feb 8, 2019 in Ansible by Dee
1,209 views
0 votes
1 answer

Error saying permission denied while running ansible playbook

Hey @Neha, add the following line to ...READ MORE

answered Feb 8, 2019 in Ansible by Amy
15,919 views
0 votes
1 answer

Become : yes is not working while running ansible playbook from Jenkins pipeline job

Hi, Jenkins will not able to run the ...READ MORE

answered Jul 21, 2020 in Ansible by MD
• 95,460 points
1,921 views
0 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,059 views
+2 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP