WIP: Initial VM provisioning #4

Closed
cyclane wants to merge 38 commits from initial-vm-provisioning into main
1 changed files with 6 additions and 9 deletions
Showing only changes of commit 0edaee542f - Show all commits

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