From 5f602c797f2434982d07d0e5717dcb6b43b47f9b Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Tue, 18 Apr 2023 21:56:02 -0400 Subject: [PATCH] Add sanity connection check for bootstrap hosts --- skylab/infra/playbooks/bootstrap.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/skylab/infra/playbooks/bootstrap.yml b/skylab/infra/playbooks/bootstrap.yml index 58d4d37..1325e9b 100644 --- a/skylab/infra/playbooks/bootstrap.yml +++ b/skylab/infra/playbooks/bootstrap.yml @@ -28,6 +28,11 @@ ansible_ssh_pass: "{{ bootstrap_password }}" ansible_port: "{{ bootstrap_port }}" + - name: Test connection + delegate_to: bootstrap + delegate_facts: true + ansible.builtin.ping: {} + - name: Bootstrap remote hosts: bootstrap vars: