Re: [ansible-devel] requirements.yml failing due to a non existant new line char

7 views
Skip to first unread message

John Westcott

unread,
Feb 18, 2021, 9:30:56 AM2/18/21
to tntda...@gmail.com, Ansible Development
For issues with Ansible Tower its best to open a support ticket with Red Hat.

-John


On Feb 18, 2021, at 7:46 AM, tntda...@gmail.com <tntda...@gmail.com> wrote:

Hi all,

I have this problem that for the life of me I cannot figure out... been bashing my head for a day now with no luck.

I have a role that is used to download application binaries, I pull this role into other various roles/playbooks using requirements.yml, below is the content of the requirements.yml file:

  scm: git
  version: feature/get_repo

When running in Ansible tower, the project fails to update and download this role but it works in pre-existing projects. Here is the error in raw output from tower:

"[WARNING]: - ansible-copy-distro-role was NOT installed successfully: - command\n/usr/bin/git clone https://myrepo.com/myteam/ansible-copy-\ndistro-role.git ansible-copy-distro-role failed"

In the above for some reason (not sure if its why its failing but I sure think so) is that in the middle of my url for the git repo, its injecting a "\n" character which I believe is causing problems.

Any thoughts/insight is much appreciated as I do not know what else to look into. 

I've deleted the project in Tower, started fresh, deleted and added the requirements.yml many of times and inspected the format to ensure no weird chars were being put in to no avail.

Thanks,
Tom

--
You received this message because you are subscribed to the Google Groups "Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/0a3132e3-e5ec-476d-a74e-1eb13c9d8b22n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages