kubernetes: Disable become for delegated task

We do not need "become" for the Kubernetes resource manipulation task
that runs on the control machine.
unifi-restore
Dustin 2025-07-14 16:19:33 -05:00
parent e65bcc25ba
commit 1bf6ae6d3c
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@
tasks: tasks:
- name: ensure kubernetes node labels and taints are set - name: ensure kubernetes node labels and taints are set
delegate_to: localhost delegate_to: localhost
become: false
kubernetes.core.k8s: kubernetes.core.k8s:
definition: definition:
apiVersion: v1 apiVersion: v1