hmmmm
Infrastructure / Check and run Ansbile playbooks (pull_request) Failing after 1m33s
Details
Infrastructure / Check and run Ansbile playbooks (pull_request) Failing after 1m33s
Details
This commit is contained in:
parent
04881f9dfa
commit
18e2ba2f75
|
@ -2,19 +2,21 @@
|
||||||
hosts: joplin
|
hosts: joplin
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
- name: Debug
|
|
||||||
ansible.builtin.debug:
|
|
||||||
msg: "{{ inventory_hostname }}"
|
|
||||||
- name: Wait for connection
|
- name: Wait for connection
|
||||||
ansible.builtin.wait_for:
|
ansible.builtin.wait_for:
|
||||||
host: "{{ inventory_hostname }}"
|
host: "{{ inventory_hostname }}"
|
||||||
port: 22
|
port: 22
|
||||||
timeout: 300
|
timeout: 300
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
- name: Wait for 10s
|
||||||
|
ansible.builtin.wait_for:
|
||||||
|
timeout: 10
|
||||||
|
- name: Ping
|
||||||
|
ansible.builtin.shell: |
|
||||||
|
ping -c 5 {{ inventory_hostname }}
|
||||||
|
delegate_to: localhost
|
||||||
- name: Test some stuff
|
- name: Test some stuff
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
touch ~/hmm
|
touch ~/hmm
|
||||||
echo test > ~/test
|
echo test > ~/test
|
||||||
echo test2 >> ~/test
|
echo test2 >> ~/test
|
||||||
args:
|
|
||||||
executable: /bin/bash
|
|
||||||
|
|
Loading…
Reference in New Issue