kovalhome/infra/joplin/0001_software_playbook.yaml
Gleb Koval 8406db7eaf
All checks were successful
Infrastructure / Check and run Ansbile playbooks (pull_request) Successful in 3m58s
change until:
2023-09-08 23:38:17 +01:00

22 lines
528 B
YAML

- name: Setup Software
hosts: joplin
gather_facts: false
tasks:
- 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: |
sudo apt update
sudo apt install -y qemu-guest-agent
touch ~/hmm
echo test > ~/test
echo test2 >> ~/test
register: stuff
retries: 10
delay: 6
until: stuff.rc == 0