kubernetes: Disable become for delegated task

We do not need "become" for the Kubernetes resource manipulation task
that runs on the control machine.
This commit is contained in:
2025-07-14 16:19:33 -05:00
parent e65bcc25ba
commit 1bf6ae6d3c

View File

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