I am using Ansible 2.5.1., and I do not want to use the flag -K all the time (I think it will be deprecated soon). I know there is a directive of become_ask_pass in the ansible.cfg file.
I set this to be a true value i.e. become_ask_pass = True, but running a playbook with this true value, gave me an error message and Ansible did not ask for a password.
When I set the deprecated ask_sudo_pass t be the true value, then Ansible asked for the password, but printed deprecation information.
I tried to install version 2.6.4 and the behaviour is still the same.
Why become_ask_pass and ask_sudo_pass, don't work in the same way? Am I missing something?