---
- name: APT correct dependencies
  command: apt-get -c {{ apt_conf }} -f install

- name: APT upgrade
  command: apt-get -c {{ apt_conf }} upgrade

- name: Apply customizations
  script: files/apply_customizations.sh

- name: APT correct dependencies
  command: "apt-get -y -c {{ apt_conf }} -f install"
  environment:
    DEBIAN_FRONTEND: noninteractive
- name: APT upgrade
  command: "apt-get -y -c {{ apt_conf }} upgrade"
  environment:
    DEBIAN_FRONTEND: noninteractive
- name: Apply customizations
  script: files/apply_customizations.sh

Fix interactive apt getting stuck
Fix interactive apt getting stuck
