Skip to content
Snippets Groups Projects
Commit 324a56d3 authored by poulpe's avatar poulpe
Browse files

[Update] Fix ping command with ping in shell

parent 95f812e2
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@
state: restarted
enabled: yes
- name: Setup index.html on H2
- name: Setup wireguard on H1
hosts: H1
become: true
tasks:
......@@ -141,8 +141,7 @@
tasks:
- name: Ping form H1 to H2
ansible.netcommon.net_ping:
dest: 10.0.0.1
ansible.builtin.shell: "ping 3.0.0.2 -c 1"
register: result
- name: Print result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment