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?