X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=fdio.infra.ansible%2Froles%2Ftrex%2Ftasks%2Fdeploy_block.yaml;fp=fdio.infra.ansible%2Froles%2Ftrex%2Ftasks%2Fdeploy_block.yaml;h=23948bc158b0c13e911466df28e6a8f07b82c998;hb=b73bc71b49d8ae22745348f2cd6af4b58daed12c;hp=492a56a65d77460c83bd5e1b1c99d057c43b0f03;hpb=719064c31cb35dd213143c4db7df6d27daf4f30c;p=csit.git diff --git a/fdio.infra.ansible/roles/trex/tasks/deploy_block.yaml b/fdio.infra.ansible/roles/trex/tasks/deploy_block.yaml index 492a56a65d..23948bc158 100644 --- a/fdio.infra.ansible/roles/trex/tasks/deploy_block.yaml +++ b/fdio.infra.ansible/roles/trex/tasks/deploy_block.yaml @@ -32,10 +32,12 @@ - name: Reset gcc-9 ansible.builtin.command: "update-alternatives --remove-all gcc" + ignore_errors: true when: trex_extracted.changed - name: Reset g++-9 ansible.builtin.command: "update-alternatives --remove-all g++" + ignore_errors: true when: trex_extracted.changed - name: Switch to gcc-9