diff --git a/.github/workflows/publish-operator-hub.yaml b/.github/workflows/publish-operator-hub.yaml index b02dc1088..822d00f5a 100644 --- a/.github/workflows/publish-operator-hub.yaml +++ b/.github/workflows/publish-operator-hub.yaml @@ -64,7 +64,7 @@ jobs: fetch-tags: true ref: ${{ env.VERSION }} path: awx-operator-${{ env.VERSION }} - fetch-depth: 0 # fetch all history so that git describe works + fetch-depth: 0 # fetch all history so that git describe works - name: Copy scripts to awx-operator-${{ env.VERSION }} run: | diff --git a/roles/installer/tasks/install.yml b/roles/installer/tasks/install.yml index 207e8c88c..cee2daa40 100644 --- a/roles/installer/tasks/install.yml +++ b/roles/installer/tasks/install.yml @@ -84,8 +84,8 @@ namespace: "{{ ansible_operator_meta.namespace }}" register: restore_status_check until: - # yamllint disable-line rule:line-length - - (restore_status_check.resources | length == 0) or (restore_status_check.resources | selectattr('spec.deployment_name', 'equalto', ansible_operator_meta.name) | map(attribute='status') | selectattr('restoreComplete', 'defined') | map(attribute='restoreComplete') | list | length > 0) + # yamllint disable-line rule:line-length + - (restore_status_check.resources | length == 0) or (restore_status_check.resources | selectattr('spec.deployment_name', 'equalto', ansible_operator_meta.name) | map(attribute='status') | selectattr('restoreComplete', 'defined') | map(attribute='restoreComplete') | list | length > 0) delay: 10 retries: 8640 ignore_errors: yes