role: check git connections
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
- 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'
|
||||
|
||||
Reference in New Issue
Block a user