# AnsibleConnectionFailure: Name or service not known

**URL:** <https://forum.ansible.com/t/ansibleconnectionfailure-name-or-service-not-known/32384>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [March 4, 2020, 4:00pm UTC](https://forum.ansible.com/t/ansibleconnectionfailure-name-or-service-not-known/32384 "2020-03-04T16:00:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [March 4, 2020, 4:00pm UTC](https://forum.ansible.com/t/ansibleconnectionfailure-name-or-service-not-known/32384/1 "2020-03-04T16:00:25Z")

</div>

Could you please state clearly ALL of the below:

- What goal you are trying to achieve.  
- How you are doing this.  
- What problems you encounter.  
- Which command did you run, and what actual output did you get from  
that (copied as plain text - not as images, attachments, or  
screenshots).  
- What the relevant tasks/playbooks/code/variables look like.

thx

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [March 4, 2020, 4:36pm UTC](https://forum.ansible.com/t/ansibleconnectionfailure-name-or-service-not-known/32384/2 "2020-03-04T16:36:16Z")

</div>

Hi

You didn't say what command you ran. How did you invoke ansible-playbook?

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [March 4, 2020, 6:07pm UTC](https://forum.ansible.com/t/ansibleconnectionfailure-name-or-service-not-known/32384/3 "2020-03-04T18:07:43Z")

</div>

You don’t understand.

HOW do you execute the playbook?
