Add ping_server.yml
This commit is contained in:
10
ping_server.yml
Normal file
10
ping_server.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: Ping
|
||||
ping:
|
||||
|
||||
- name: Print Linux version
|
||||
debug:
|
||||
msg: "{{ ansible_distribution }} {{ ansible_distribution_version }}"
|
||||
Reference in New Issue
Block a user