# \#git

**URL:** https://forum.ansible.com/tag/git/169.md

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

---

## [Test plugin version error : could not compare 'str' and 'int'](https://forum.ansible.com/t/test-plugin-version-error-could-not-compare-str-and-int/45158)

<div class="topic-metadata">

**Author:** [@fghebert](https://forum.ansible.com/u/fghebert)\
**Replies:** 2\
**Last updated:** [January 23, 2026, 2:11pm UTC](https://forum.ansible.com/t/test-plugin-version-error-could-not-compare-str-and-int/45158 "2026-01-23T14:11:23Z")

</div>

Hi, Here is an abstract of my role: - name: Get Git's version ansible.builtin.shell: "git --version | awk -F' ' { print $3 }'" register: base\_git\_installed\_version when: base\_git\_installed.rc == 0 - name: Debug …

---

## [Awx project sync failed to download collection tar from 'server0'](https://forum.ansible.com/t/awx-project-sync-failed-to-download-collection-tar-from-server0/44951)

<div class="topic-metadata">

**Author:** [@rbooyer](https://forum.ansible.com/u/rbooyer)\
**Replies:** 0\
**Last updated:** [December 4, 2025, 1:45pm UTC](https://forum.ansible.com/t/awx-project-sync-failed-to-download-collection-tar-from-server0/44951 "2025-12-04T13:45:31Z")

</div>

I’m having an issue where when my gitlab project that holds my playbooks syncs and tries to setup the environment i receive the following errors: ERROR! Failed to download collection tar from 'server0' due to the follow…

---

## [AWX Git sync fails intermittently — "ssh: connect to host github.com port 22: Connection timed out"](https://forum.ansible.com/t/awx-git-sync-fails-intermittently-ssh-connect-to-host-github-com-port-22-connection-timed-out/43641)

<div class="topic-metadata">

**Author:** [@akanox](https://forum.ansible.com/u/akanox)\
**Replies:** 0\
**Last updated:** [June 30, 2025, 3:49pm UTC](https://forum.ansible.com/t/awx-git-sync-fails-intermittently-ssh-connect-to-host-github-com-port-22-connection-timed-out/43641 "2025-06-30T15:49:23Z")

</div>

I’m seeing regular failures in AWX when syncing from a Git repo over SSH: msg: Failed to download remote objects and refs: ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from remot…

---

## [Automating ansible from git](https://forum.ansible.com/t/automating-ansible-from-git/41335)

<div class="topic-metadata">

**Author:** [@wes](https://forum.ansible.com/u/wes)\
**Replies:** 1\
**Last updated:** [March 26, 2025, 6:36pm UTC](https://forum.ansible.com/t/automating-ansible-from-git/41335 "2025-03-26T18:36:46Z")

</div>

We are wanting to have ansible auto download from git, and then run to apply any changes to several hosts. The hosts will mostly be a dynamic inventory, but some will be static. I’m just wondering, is this what Ansible …

---

## [Playbook hangs while doing a git commit](https://forum.ansible.com/t/playbook-hangs-while-doing-a-git-commit/10311)

<div class="topic-metadata">

**Author:** [@Ken\_Arnold](https://forum.ansible.com/u/Ken_Arnold)\
**Replies:** 10\
**Last updated:** [October 21, 2024, 7:36pm UTC](https://forum.ansible.com/t/playbook-hangs-while-doing-a-git-commit/10311 "2024-10-21T19:36:51Z")

</div>

My playbook hangs while trying to do a commit. Sometimes when I hit cancel on the job it comes back with a “Username for ‘https://\<gitlab\_url\>’:”. I’m trying to run this playbook within an Execution Environment. I don…

---

## [Ansible python interpreter](https://forum.ansible.com/t/ansible-python-interpreter/8500)

<div class="topic-metadata">

**Author:** [@Chandra\_Mukherjee](https://forum.ansible.com/u/Chandra_Mukherjee)\
**Replies:** 3\
**Last updated:** [September 18, 2024, 7:17am UTC](https://forum.ansible.com/t/ansible-python-interpreter/8500 "2024-09-18T07:17:09Z")

</div>

Hi All, I am trying to execute an ansible playbook using github actions but it is failing with the below error: “Failed to import the required Python library (psycopg2) on fv-az1811-354’s Python /opt/pipx/venvs/ansible…

---

## [Ansible idempotency](https://forum.ansible.com/t/ansible-idempotency/8462)

<div class="topic-metadata">

**Author:** [@Chandra\_Mukherjee](https://forum.ansible.com/u/Chandra_Mukherjee)\
**Replies:** 6\
**Last updated:** [September 12, 2024, 7:06pm UTC](https://forum.ansible.com/t/ansible-idempotency/8462 "2024-09-12T19:06:44Z")

</div>

I have a use case to execute DDL scripts on a GCP cloud SQL instance using Ansible. Below is the source code of the playbook: name: Check postgreSQL version hosts: localhost gather\_facts: no become: yes tasks: n…

---

## [AWX project using git submodule to link another repo](https://forum.ansible.com/t/awx-project-using-git-submodule-to-link-another-repo/7705)

<div class="topic-metadata">

**Author:** [@jarring](https://forum.ansible.com/u/jarring)\
**Replies:** 1\
**Last updated:** [August 7, 2024, 8:15pm UTC](https://forum.ansible.com/t/awx-project-using-git-submodule-to-link-another-repo/7705 "2024-08-07T20:15:16Z")

</div>

Hello, I have a git repo set as a awx role which I managed to import and use successfully in my awx template. Now I just have a small issue, some files needed for my role are coming from another repo and at first I had…

---

## [Ansible-lint autodetect and git CI](https://forum.ansible.com/t/ansible-lint-autodetect-and-git-ci/3946)

<div class="topic-metadata">

**Author:** [@falon](https://forum.ansible.com/u/falon)\
**Replies:** 3\
**Last updated:** [February 20, 2024, 10:03am UTC](https://forum.ansible.com/t/ansible-lint-autodetect-and-git-ci/3946 "2024-02-20T10:03:19Z")

</div>

Hello, I have a problem with ansible-lint and its mode to discover paths. In my develop environment all it’s working fine. I enter the role or collection path, I run ansible-lint and I see the results of the role or th…

---

## [Call playbook from git](https://forum.ansible.com/t/call-playbook-from-git/2614)

<div class="topic-metadata">

**Author:** [@mgab1](https://forum.ansible.com/u/mgab1)\
**Replies:** 5\
**Last updated:** [November 28, 2023, 5:47pm UTC](https://forum.ansible.com/t/call-playbook-from-git/2614 "2023-11-28T17:47:20Z")

</div>

Hi all, Just a “quick question” Is it possible to directly “call” an ansible playbook which is stored in git without downloading it prior ? So the idea is to have all the playbooks stored in our internal git-repo and …

---

## [Getting an error "Could not resolve host: gitlabce.tools.aws.vodafone.com" while trying to sync with Gitlab](https://forum.ansible.com/t/getting-an-error-could-not-resolve-host-gitlabce-tools-aws-vodafone-com-while-trying-to-sync-with-gitlab/894)

<div class="topic-metadata">

**Author:** [@swattik](https://forum.ansible.com/u/swattik)\
**Replies:** 6\
**Last updated:** [September 29, 2023, 11:39am UTC](https://forum.ansible.com/t/getting-an-error-could-not-resolve-host-gitlabce-tools-aws-vodafone-com-while-trying-to-sync-with-gitlab/894 "2023-09-29T11:39:52Z")

</div>

Hi Team, I’m getting above error while trying to create a project to sync with our gitlab repo(which require user id/password and proxy to connect). I’ve setup proxy in /awx/installer/inventory file, along with environm…
