9 lines
221 B
YAML
9 lines
221 B
YAML
- name: check connection to hosted git servers
|
|
loop:
|
|
- github.com
|
|
- gitea.kevinnlsamuel.com
|
|
changed_when: false
|
|
ansible.builtin.shell: >
|
|
ssh -T git@{{item}} 2>&1 | grep -qF 'successfully authenticated'
|
|
|