Hello, colleagues
Sure, all you know the situation, when you install a new version of package and you get a dialog window with warnings like “use existing version of config file or replace it with new one” or “that your lovely function is depricated now, make a note of this”, etc.
I’d like to know, what’s apt module’s behavior in such situation? What will its answer to this warnings?
Ansible set DEBIAN_FRONTEND=noninteractive, so no any dialog.
tis 2017-01-17 klockan 01:42 -0800 skrev Igor Schaefer:
Sure, all you know the situation, when you install a new version of
package and you get a dialog window with warnings like "use existing
version of config file or replace it with new one" or "that your
lovely function is depricated now, make a note of this", etc.
I'd like to know, what's apt module's behavior in such situation?
What will its answer to this warnings?
Ansible defaults to keeping the old/existing config files.
See https://docs.ansible.com/ansible/apt_module.html and
the dpkg_options parameter for the technical details.
Regarding other questions I guess that depends on their origin. In most
cases I assume they come from debconf, in which case they are hidden by
DEBIAN_FRONTEND=noninteractive (as mentioned by Alexey).
// Andreas
Спасибо!
А где можно изменить этот параметр? Я не нашел его в /etc/ansible/ansible.cfg
Thank you for paying my attention to the Ansible documentation. I read it but didn’t get the dpkg_options