Skip to content

Commit

Permalink
add playbook to test ssh connections
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaffen committed Oct 23, 2023
1 parent 845ed3b commit 913fd5b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions playbooks/test_ssh_connection.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
- name: "Test SSH Connection"
hosts: "{{ target_hosts | default('all') }}"
gather_facts: false
tasks:
- name: Test we can logon to the servers and execute python with json lib.
ansible.builtin.ping:
register: ping_result

0 comments on commit 913fd5b

Please sign in to comment.