diff --git a/ansible/roles/assets/tasks/manifests.yml b/ansible/roles/assets/tasks/manifests.yml index 47ef0c7..18736c8 100644 --- a/ansible/roles/assets/tasks/manifests.yml +++ b/ansible/roles/assets/tasks/manifests.yml @@ -119,9 +119,10 @@ until: pinniped_manifest is not failed - name: Trim image hash from manifest - ansible.builtin.copy: - dest: /opt/metacluster/pinniped/local-user-authenticator.yaml - content: "{{ lookup('ansible.builtin.file', '/opt/metacluster/pinniped/local-user-authenticator.yaml') | regex_replace('([ ]*image: .*)@.*', '\\1') }}" + ansible.builtin.replace: + path: /opt/metacluster/pinniped/local-user-authenticator.yaml + regex: '([ ]*image: .*)@.*' + replace: '\\1' no_log: true # - name: Inject manifests