X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=fdio.infra.ansible%2Froles%2Ftrex%2Ftasks%2Fdeploy_block.yaml;h=23948bc158b0c13e911466df28e6a8f07b82c998;hb=b73bc71b49d8ae22745348f2cd6af4b58daed12c;hp=b436879a54d6f5aecf4908301233d3f80997db15;hpb=086b0449501bc4eb51cd617f28dd50e04326878a;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 b436879a54..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 @@ -61,7 +63,7 @@ register: trex_built when: trex_extracted.changed -- name: Check if T-Rex is compiled +- name: Check if T-Rex is Compiled async_status: jid: "{{ trex_built.ansible_job_id }}" register: trex_built