ansible: Add play to run produce known_hosts file using ssh-keyscan
[lttng-ci.git] / automation / ansible / playbooks / dist-upgrade.yml
index db9038069480e3f694cac1159aa7b09da9ac5491..57d011da6942571aeaddf00591096829b3fa341e 100644 (file)
@@ -1,5 +1,5 @@
 ---
-- name: Dist upgrade and optionnal reboot
+- name: Dist upgrade and optional reboot
   hosts: all
   vars:
     restart: 'no'
@@ -19,7 +19,9 @@
      apt: upgrade=dist
 
    - name: apt-get autoremove
-     command: apt-get -y --purge autoremove
+     command:
+       cmd: apt-get -y --purge autoremove
+       warn: false
      register: autoremove_output
      changed_when: "'The following packages will be REMOVED' in autoremove_output.stdout"
 
This page took 0.042301 seconds and 4 git commands to generate.