diff --git a/playbooks/test_ssh_connection.yml b/playbooks/test_ssh_connection.yml new file mode 100644 index 0000000..8895f88 --- /dev/null +++ b/playbooks/test_ssh_connection.yml @@ -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