# Ansible paybook not doing anything despite saying "succesful"

**URL:** <https://forum.ansible.com/t/ansible-paybook-not-doing-anything-despite-saying-succesful/21754>\
**Category:** Ansible Project\
**Created:** [June 13, 2016, 4:49pm UTC](https://forum.ansible.com/t/ansible-paybook-not-doing-anything-despite-saying-succesful/21754 "2016-06-13T16:49:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![G\_Stewart](https://avatars.discourse-cdn.com/v4/letter/g/bbce88/32.png) [@G\_Stewart](https://forum.ansible.com/u/G_Stewart)\
**Post date:** [June 13, 2016, 4:49pm UTC](https://forum.ansible.com/t/ansible-paybook-not-doing-anything-despite-saying-succesful/21754/1 "2016-06-13T16:49:12Z")

</div>

I have been trying to create a playbook to modify system config files–in this case, postifx configs–and, to restart the postfix service when done. While I’ve gotten the script to run without errors (I think), despit the ansible output suggesting everything was done successfully, nothing actually happened on the remote system

Here is my playbook:

`

---

<div class="post-metadata">

**Author:** ![G\_Stewart](https://avatars.discourse-cdn.com/v4/letter/g/bbce88/32.png) [@G\_Stewart](https://forum.ansible.com/u/G_Stewart)\
**Post date:** [June 13, 2016, 5:59pm UTC](https://forum.ansible.com/t/ansible-paybook-not-doing-anything-despite-saying-succesful/21754/2 "2016-06-13T17:59:12Z")

</div>

Okay… I’m an idiot.

After poking around, I discovered that I had a .ansible dir in my home dir, and exploring there I realised that my script was writing the changes I asked for to a directory path under my home dir.

When I compared that odd directory path to my YAML code, I found this:

` `- name: Limit inet\_protocol in postfix/main.cf to IPv4 only` `lineinfile:` `dest: dest=/etc/postfix/main.cf`

`

I had converted a one-line lineinfile syntax to multi-line, and I didn’t notice I forgot to remove the “dest=” after I added the “dest:”.

Well, if it helps anyone in debug code who may not already know: there’s a hidden .ansible dir in the user home dir to look at on the remote host.

–Greg
