change become syntax logging
@@ -17,7 +17,8 @@
register: local_tmp
changed_when: False
check_mode: no
- become: false
+ vars:
+ ansible_become: false
- oc_obj:
state: list
@@ -37,13 +37,16 @@
register: new_file_slurp
- local_action: copy content="{{ patch_output.raw_patch }}\n" dest={{ local_tmp.stdout }}/patch.patch
- local_action: copy content={{ new_file_slurp['content'] | b64decode }} dest={{ local_tmp.stdout }}/configmap_new_file
- local_action: command patch --force --quiet -u {{ local_tmp.stdout }}/configmap_new_file {{ local_tmp.stdout }}/patch.patch
- copy:
src: "{{ local_tmp.stdout }}/configmap_new_file"
@@ -23,7 +23,8 @@
local_action: command mktemp -d
- name: Copy the admin client config(s)
command: >
@@ -48,4 +49,5 @@
tags: metrics_cleanup