From: Kienan Stewart Date: Thu, 15 Feb 2024 12:50:29 +0000 (-0500) Subject: ansible: Ignore failures when clearing history during image cleanup X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8c849496a6eef37baa7f9e5b1a6acaffdf1e2fae;p=lttng-ci.git ansible: Ignore failures when clearing history during image cleanup Change-Id: I21b85ec6e05cc66f0874636cb212db39c8244aca Signed-off-by: Kienan Stewart --- diff --git a/automation/ansible/playbooks/post-imagebuild-clean.yml b/automation/ansible/playbooks/post-imagebuild-clean.yml index d4eb23d..4a352fc 100644 --- a/automation/ansible/playbooks/post-imagebuild-clean.yml +++ b/automation/ansible/playbooks/post-imagebuild-clean.yml @@ -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