ansible: Ignore failures when clearing history during image cleanup
[lttng-ci.git] / automation / ansible / playbooks / post-imagebuild-clean.yml
index d4eb23ddfb4457c8fdb9db6378d7278946b24288..4a352fc24db60c1c18a83cf2f268fe261e25fb3e 100644 (file)
@@ -18,6 +18,9 @@
       ignore_errors: true
     - ansible.builtin.shell:
         cmd: 'history -cw'
+      # Some default shells don't have the `history` built-in,
+      # and it's not blocking that this works or not.
+      ignore_errors: true
     - ansible.builtin.file:
         path: /root/.ssh/authorized_keys2
         state: absent
This page took 0.022102 seconds and 4 git commands to generate.