playbooks/remove_node.yml: fixes localhost validation task (#12420)

- Add gather_facts: false (no system facts needed for validation)
- Add become: false (no privilege escalation needed on localhost)
This commit is contained in:
Romain Lalaut
2025-07-25 10:52:31 +02:00
committed by GitHub
parent 9e8bf18aa1
commit d198b2ca53

View File

@@ -1,6 +1,8 @@
--- ---
- name: Validate nodes for removal - name: Validate nodes for removal
hosts: localhost hosts: localhost
gather_facts: false
become: false
tasks: tasks:
- name: Assert that nodes are specified for removal - name: Assert that nodes are specified for removal
assert: assert: