Hello

In Ansible 1.x a line like this:
- lineinfile: dest=/root/.bashrc regexp="^export VISUAL=" line="export 
VISUAL='vim'"

Gives the following output when I execute the playbook:
TASK: [lineinfile dest=/root/.bashrc regexp="^export VISUAL=" line="export 
VISUAL='vim'"] *** 
ok: [xy]

However, with Ansible 2 this got changed. The exact same line gives the 
following output when the playbook is executed:
TASK [lineinfile] 
**************************************************************
ok: [xy]

This is not very helpful. I do realize that I can use "name:" but I'd 
rather have the old behavior as it always shows me what ansible is doing 
and not just a name I made up. Is there a setting the get the old behavior 
back?

-- 
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/ef715ade-eb5f-442c-bde5-c7723f96033e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to