# bug:Service is in unknown state

**URL:** <https://forum.ansible.com/t/bug-service-is-in-unknown-state/37532>\
**Category:** AWX Project\
**Tags:** ubuntu, awx\
**Created:** [January 9, 2023, 9:38am UTC](https://forum.ansible.com/t/bug-service-is-in-unknown-state/37532 "2023-01-09T09:38:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suchi\_Bhargav](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Suchi\_Bhargav](https://forum.ansible.com/u/Suchi_Bhargav)\
**Post date:** [January 9, 2023, 9:38am UTC](https://forum.ansible.com/t/bug-service-is-in-unknown-state/37532/1 "2023-01-09T09:38:08Z")

</div>

Hey,

I have installed ansible awx using kubernates/minikube version 1.1.3.  
i have created 1 docker ubuntu container and i am trying to install nginx and start ngnix inside that ubuntu container and localhost.  
while running playbook , everything is working except it is not able to start nginx inside container.  
I am getting error service is in unknown start .  
I am attcahing output of this playbook with this mail.  
some info : 172.16.145.49 is my localhost while 172.19.0.2 is my container

How to debug that?

my playbook :

| 
- name: Hello World Sample

 |
|
| |

| 

hosts: all

 |
|
| |

| 

become: true

 |
|
| |

| 

connection: ssh

 |
|
| |

| 

tasks:

 |
|
| |

| 
- name: Hello Message

 |
|
| |

| 

debug:

 |
|
| |

| 

msg: “Hello World!”

 |
|
| |

| 
- name: ensure nginx is at the latest version

 |
|
| |

| 

apt: name=nginx state=latest

 |
|
| |

| 
- name: start nginx

 |
|
| |

| 

service:

 |
|
| |

| 

name: nginx

 |
|
| |

> **(attachments)**
>
> ![error.png](https://us1.discourse-cdn.com/ansible/original/2X/3/3e467f3bce8aac58fc9310c4dae191bff54c401f.png)

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [January 18, 2023, 7:50pm UTC](https://forum.ansible.com/t/bug-service-is-in-unknown-state/37532/2 "2023-01-18T19:50:56Z")

</div>

Hello, your question seems to be about using Ansible, not about AWX. [https://groups.google.com/g/ansible-project](https://groups.google.com/g/ansible-project?authuser=1) is the best place to visit for user questions about Ansible. Thanks!

AWX Team
