Better? + qemu-guest-agent
Infrastructure / Check and run Ansbile playbooks (pull_request) Failing after 1m46s Details

This commit is contained in:
Gleb Koval 2023-09-08 23:27:31 +01:00
parent b39d99b781
commit 0edaee542f
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
1 changed files with 6 additions and 9 deletions

View File

@ -8,17 +8,14 @@
port: 22 port: 22
timeout: 300 timeout: 300
delegate_to: localhost delegate_to: localhost
- name: Wait for 10s
ansible.builtin.wait_for:
timeout: 10
delegate_to: localhost
- name: Ping
ansible.builtin.shell: |
apt update && apt install -y iputils-ping
ping -c 5 {{ inventory_hostname }}
delegate_to: localhost
- name: Test some stuff - name: Test some stuff
ansible.builtin.shell: | ansible.builtin.shell: |
apt update
apt install -y qemu-guest-agent
touch ~/hmm touch ~/hmm
echo test > ~/test echo test > ~/test
echo test2 >> ~/test echo test2 >> ~/test
retries: 10
delay: 6
until: result is not failed