# Ansible Status Service

**URL:** <https://forum.ansible.com/t/ansible-status-service/27830>\
**Category:** Ansible Project\
**Created:** [June 20, 2018, 2:36pm UTC](https://forum.ansible.com/t/ansible-status-service/27830 "2018-06-20T14:36:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fernando\_Tamariz](https://avatars.discourse-cdn.com/v4/letter/f/90ced4/32.png) [@Fernando\_Tamariz](https://forum.ansible.com/u/Fernando_Tamariz)\
**Post date:** [June 20, 2018, 2:36pm UTC](https://forum.ansible.com/t/ansible-status-service/27830/1 "2018-06-20T14:36:04Z")

</div>

Hi, how can I get the status from a service from ansible module. I can´t use service o systemctl because I have different kinds of machines with different operation systems.  
Thxs a lot

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [June 20, 2018, 2:47pm UTC](https://forum.ansible.com/t/ansible-status-service/27830/2 "2018-06-20T14:47:30Z")

</div>

As of Ansible 2.5 we now have a service\_facts module that may be of use: [https://docs.ansible.com/ansible/latest/modules/service\_facts\_module.html](https://docs.ansible.com/ansible/latest/modules/service_facts_module.html)
