delete wait connection to localhost
Infrastructure / Check and run Ansbile playbooks (pull_request) Failing after 7m38s Details

This commit is contained in:
Gleb Koval 2023-09-06 01:11:31 +01:00
parent 46de0b3d0f
commit 54d26948bd
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
1 changed files with 1 additions and 8 deletions

View File

@ -5,19 +5,12 @@
- name: Debug - name: Debug
ansible.builtin.debug: ansible.builtin.debug:
msg: "{{ inventory_hostname }}" 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 - name: Wait for connection
ansible.builtin.wait_for: ansible.builtin.wait_for:
host: "{{ inventory_hostname }}" host: "{{ inventory_hostname }}"
port: 22 port: 22
timeout: 300 timeout: 300
delegate_to: localhost
- name: Test some stuff - name: Test some stuff
ansible.builtin.shell: | ansible.builtin.shell: |
touch ~/hmm touch ~/hmm