Actually swapping the two tasks as follows serves as fair workaround the problem I faced. Thanks a lot for the hint!
- name: BASE - Allow users in group 'wireshark' to capture packets ansible.builtin.debconf: name: wireshark-common question: wireshark-common/install-setuid value: 'true' vtype: boolean - name: BASE - Install Wireshark Packages package: name: - wireshark - wireshark-common - wireshark-qt register: res_wireshark_installed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1919379 Title: debconf module: does not execute postinst To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ansible/+bug/1919379/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs