fix: Switch ansible module
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2023-10-24 09:28:24 +02:00
parent 49b8b80db0
commit 720bc43546

View File

@ -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