# Playbook - Start Service Issue

**URL:** <https://forum.ansible.com/t/playbook-start-service-issue/12217>\
**Category:** Ansible Project\
**Created:** [January 19, 2013, 7:21pm UTC](https://forum.ansible.com/t/playbook-start-service-issue/12217 "2013-01-19T19:21:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chetan\_conikee](https://avatars.discourse-cdn.com/v4/letter/c/aeb1de/32.png) [@chetan\_conikee](https://forum.ansible.com/u/chetan_conikee)\
**Post date:** [January 19, 2013, 7:21pm UTC](https://forum.ansible.com/t/playbook-start-service-issue/12217/1 "2013-01-19T19:21:23Z")

</div>

Hi

I whipped up a very simple redis playbook this evening …  
Everything seems to work as expected, but for some reason the “start service” command does not seem to be working as expected, as the service is not being started as expected

**- name: start redis-server**  
**action: service name=redis-server state=started enabled=yes**

Please refer to the entire playbook here: [http://pastie.org/5728488](http://pastie.org/5728488)

Am I missing anything?

-Chetan

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [January 19, 2013, 11:08pm UTC](https://forum.ansible.com/t/playbook-start-service-issue/12217/2 "2013-01-19T23:08:38Z")

</div>

(A) Checked log files?

(B) What consitutes "not as expected"?

(C) Try debugging with hacking/test-module locally.

(D) What OS and Ansible version?

---

<div class="post-metadata">

**Author:** ![chetan\_conikee](https://avatars.discourse-cdn.com/v4/letter/c/aeb1de/32.png) [@chetan\_conikee](https://forum.ansible.com/u/chetan_conikee)\
**Post date:** [January 20, 2013, 2:45am UTC](https://forum.ansible.com/t/playbook-start-service-issue/12217/3 "2013-01-20T02:45:33Z")

</div>

> (A) Checked log files?

No

> (B) What consitutes “not as expected”?  
> The service fails to startup (playbook attached) …

> (C) Try debugging with hacking/test-module locally.

Will Do

> (D) What OS and Ansible version?

OS: Ubuntu, Version: 0.9

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [January 20, 2013, 2:09pm UTC](https://forum.ansible.com/t/playbook-start-service-issue/12217/4 "2013-01-20T14:09:45Z")

</div>

Please try the tip of the development branch to, there was a commit to  
fix some issues with the service module recently.

---

<div class="post-metadata">

**Author:** ![chetan\_conikee](https://avatars.discourse-cdn.com/v4/letter/c/aeb1de/32.png) [@chetan\_conikee](https://forum.ansible.com/u/chetan_conikee)\
**Post date:** [January 20, 2013, 9:21pm UTC](https://forum.ansible.com/t/playbook-start-service-issue/12217/5 "2013-01-20T21:21:36Z")

</div>

Tried with new release and still stumbling on issue related to “start service”

Could you please point me to the path where log files are persisted.
