Created
May 6, 2023 17:12
-
-
Save davidlhw/0250e4482d327c67a7ae01ab20f36f96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Ping remote server | |
hosts: remote-server # replace it with the server address that you have ssh credentials to | |
become: yes # optional to have this line | |
tasks: | |
- name: Ping the remote server | |
ping: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment