This commit is contained in:
2025-08-07 14:27:27 -05:00
parent 9c98ca0dbd
commit 704714499b

View File

@@ -224,9 +224,28 @@
delegate_to: localhost
ignore_errors: true
- name: Skip SSH test for now and proceed
- name: Check SSH configuration and keys
ansible.builtin.shell: |
echo "=== SSH configuration ==="
echo "SSH_AUTH_SOCK: ${SSH_AUTH_SOCK:-not set}"
echo "=== SSH keys available ==="
ssh-add -l 2>/dev/null || echo "No SSH agent or no keys loaded"
echo "=== SSH config ==="
ls -la ~/.ssh/ 2>/dev/null || echo "No .ssh directory"
echo "=== Test SSH to git.ewnix.net ==="
ssh -T git@git.ewnix.net -o ConnectTimeout=10 -o StrictHostKeyChecking=no 2>&1 || echo "SSH test completed with exit code $?"
register: ssh_debug
delegate_to: localhost
ignore_errors: true
- name: Display SSH debug information
ansible.builtin.debug:
msg: "Skipping SSH test to avoid hanging - will attempt Git operations directly"
msg: |
SSH Debug Results:
{{ ssh_debug.stdout }}
SSH Errors:
{{ ssh_debug.stderr | default('No SSH errors') }}
- name: Create inventory directory
ansible.builtin.file: