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

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/68f91522-9d28-4b9a-9333-9433154a8cd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to