From a489ff223f8d0bc9f8a62d392f5b2c95d1528f5e Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Fri, 8 Dec 2023 13:52:54 -0500 Subject: [PATCH] chore: add new local path var to required vars and fix indenting Signed-off-by: Devin Buhl --- bootstrap/tasks/validation/net.yaml | 6 +++--- bootstrap/tasks/validation/vars.yaml | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bootstrap/tasks/validation/net.yaml b/bootstrap/tasks/validation/net.yaml index 3016d31c..81bec16f 100644 --- a/bootstrap/tasks/validation/net.yaml +++ b/bootstrap/tasks/validation/net.yaml @@ -130,7 +130,7 @@ quiet: true loop: "{{ bootstrap_nodes.master + bootstrap_nodes.worker | default([]) }}" loop_control: - label: "{{ item.address }}" + label: "{{ item.address }}" - name: Verify nodes are ipv4 ansible.builtin.assert: @@ -151,7 +151,7 @@ loop: "{{ bootstrap_nodes.master + bootstrap_nodes.worker | default([]) }}" when: item.external_address is not defined loop_control: - label: "{{ item.address }}" + label: "{{ item.address }}" - name: Verify SSH port is reachable ansible.builtin.wait_for: @@ -162,4 +162,4 @@ connection: local loop: "{{ bootstrap_nodes.master + bootstrap_nodes.worker | default([]) }}" loop_control: - label: "{{ current_address }}" + label: "{{ current_address }}" diff --git a/bootstrap/tasks/validation/vars.yaml b/bootstrap/tasks/validation/vars.yaml index 9e81b7ee..4e65336d 100644 --- a/bootstrap/tasks/validation/vars.yaml +++ b/bootstrap/tasks/validation/vars.yaml @@ -23,6 +23,7 @@ - bootstrap_ipv6_enabled - bootstrap_k8s_gateway_addr - bootstrap_kube_vip_addr + - bootstrap_local_path_provisioner_path - bootstrap_node_cidr - bootstrap_service_cidr - bootstrap_timezone @@ -34,4 +35,4 @@ fail_msg: Node name {{ item.name }} is not valid loop: "{{ bootstrap_nodes.master + bootstrap_nodes.worker | default([]) }}" loop_control: - label: "{{ item.name }}" + label: "{{ item.name }}"