Skip to content

Commit

Permalink
chore: add new local path var to required vars and fix indenting
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <devin@buhl.casa>
  • Loading branch information
onedr0p committed Dec 8, 2023
1 parent 123cdbf commit a489ff2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions bootstrap/tasks/validation/net.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -162,4 +162,4 @@
connection: local
loop: "{{ bootstrap_nodes.master + bootstrap_nodes.worker | default([]) }}"
loop_control:
label: "{{ current_address }}"
label: "{{ current_address }}"
3 changes: 2 additions & 1 deletion bootstrap/tasks/validation/vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}"

0 comments on commit a489ff2

Please sign in to comment.