WIP: Initial VM provisioning #4

Closed
cyclane wants to merge 38 commits from initial-vm-provisioning into main
1 changed files with 2 additions and 15 deletions
Showing only changes of commit 92fbca47db - Show all commits

View File

@ -3,21 +3,8 @@
gather_facts: false gather_facts: false
tasks: tasks:
- name: Wait for connection - name: Wait for connection
ansible.builtin.ping: ansible.builtin.wait_for_connection:
ignore_unreachable: true timeout: 300
register: wait_conn
retries: 30
delay: 10
until: wait_conn.ping is defined
failed_when: wait_conn.ping is not defined
# ansible.builtin.wait_for:
# host: "{{ inventory_hostname }}"
# port: 22
# timeout: 300
# delegate_to: localhost
- name: Debug
ansible.builtin.debug:
var: wait_conn
- name: Test some stuff - name: Test some stuff
ansible.builtin.shell: | ansible.builtin.shell: |
touch ~/hmm touch ~/hmm