- name: add sync-user option shell: | tmp=$(mktemp).yaml {{ K3S_CMDLINE_PREFIX }} kubectl get deployment onecloud-operator -n onecloud -o yaml > $tmp sed -i -e '/onecloud-controller-manager$/a \ - -sync-user' $tmp kubectl replace -f $tmp rm -f $tmp args: executable: /bin/bash