From 54d26948bda4f2b910f8b9cd517261863772bf9f Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Wed, 6 Sep 2023 01:11:31 +0100 Subject: [PATCH] delete wait connection to localhost --- infra/joplin/0001_software_playbook.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/infra/joplin/0001_software_playbook.yaml b/infra/joplin/0001_software_playbook.yaml index 458aaeb..8bee726 100644 --- a/infra/joplin/0001_software_playbook.yaml +++ b/infra/joplin/0001_software_playbook.yaml @@ -5,19 +5,12 @@ - name: Debug ansible.builtin.debug: msg: "{{ inventory_hostname }}" - - name: Wut - ansible.builtin.shell: | - apt update - apt install -y iputils-ping - ping -c 5 {{ inventory_hostname }} - args: - executable: /bin/bash - delegate_to: localhost - name: Wait for connection ansible.builtin.wait_for: host: "{{ inventory_hostname }}" port: 22 timeout: 300 + delegate_to: localhost - name: Test some stuff ansible.builtin.shell: | touch ~/hmm