ansible: Force dpkg configuration during release upgrades
[lttng-ci.git] / automation / ansible / tasks / debian_release_upgrade.yml
index 3d9f6bb4eb6cd0af2d94f1176bfea5d934abb580..190d3be185922cb56d3e019d5572d469e67d052a 100644 (file)
 # @TODO: Check required disk space and available disk space
 - name: Download packages
   command:
-    cmd: 'apt-get -y -d upgrade'
+    cmd: 'apt-get -y -d upgrade {{apt_common_options}}'
     warn: false
   environment: "{{apt_noninteractive_environment}}"
 - name: Minimal upgrade run
   command:
-    cmd: 'apt upgrade -y --without-new-pkgs'
+    cmd: 'apt upgrade -y --without-new-pkgs {{apt_common_options}}'
     warn: false
   environment: "{{apt_noninteractive_environment}}"
 - name: Full upgrade run
   command:
-    cmd: 'apt full-upgrade -y'
+    cmd: 'apt full-upgrade -y {{apt_common_options}}'
     warn: false
   environment: "{{apt_noninteractive_environment}}"
 # @TODO: reconfigure grub if installed
This page took 0.029365 seconds and 4 git commands to generate.