mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
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:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user