improve stuff
Infrastructure / Check and run Ansbile playbooks (pull_request) Failing after 1m12s
Details
Infrastructure / Check and run Ansbile playbooks (pull_request) Failing after 1m12s
Details
This commit is contained in:
parent
8406db7eaf
commit
f891d1e6a8
|
@ -63,7 +63,7 @@
|
||||||
sshkeys: "{{ ssh_public }}"
|
sshkeys: "{{ ssh_public }}"
|
||||||
ipconfig:
|
ipconfig:
|
||||||
ipconfig0: ip=dhcp,ip6=auto
|
ipconfig0: ip=dhcp,ip6=auto
|
||||||
ipconfig1: ip=dhcp,ip6=auto
|
ipconfig1: ip=dhcp
|
||||||
agent: enabled=1
|
agent: enabled=1
|
||||||
tags:
|
tags:
|
||||||
- debian-12
|
- debian-12
|
||||||
|
|
|
@ -10,12 +10,21 @@
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
- name: Test some stuff
|
- name: Test some stuff
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
sudo apt update
|
|
||||||
sudo apt install -y qemu-guest-agent
|
|
||||||
touch ~/hmm
|
touch ~/hmm
|
||||||
echo test > ~/test
|
echo test > ~/test
|
||||||
echo test2 >> ~/test
|
echo test2 >> ~/test
|
||||||
|
mkdir ~/dir
|
||||||
|
touch ~/dir/testing
|
||||||
register: stuff
|
register: stuff
|
||||||
retries: 10
|
retries: 10
|
||||||
delay: 6
|
delay: 6
|
||||||
until: stuff.rc == 0
|
until: stuff.rc == 0
|
||||||
|
- name: Install some stuff
|
||||||
|
ansible.builtin.apt:
|
||||||
|
update_cache: true
|
||||||
|
name: qemu-guest-agent
|
||||||
|
- name: Enable some stuff
|
||||||
|
ansible.builtin.systemd:
|
||||||
|
name: qemu-guest-agent
|
||||||
|
state: started
|
||||||
|
enabled: true
|
||||||
|
|
Loading…
Reference in New Issue