system-config/playbooks/roles/gitea-git-repos
Ian Wienand c2c0edfae4
gitea-git-repos: remove #!/usr/bin/env python
A change in Ansible 6, discussed at [1], highlights that Ansible is
using the #! line to determine using it's own heuristics the
interpreter to use to run the file, rather than the more common idea
that this file is being interpreted by the kernel.

The best solution seems to be to have no interpreter line, which is
done here.

To avoid confusion this removes the executable bit; if you want to run
it manually you should run it under the python binary as an argument.

I couldn't find any other instances of this same behaviour in
system-config.

[1] https://github.com/ansible/ansible/issues/78809

[1] 9142be2f6c
[2] 9e22cfdb0f

Change-Id: I1d37e485a877982c72fa19acad907b682858c15b
2022-11-23 08:26:28 +11:00
..
defaults Always update gitea repo meta data 2021-10-18 08:56:57 -07:00
library gitea-git-repos: remove #!/usr/bin/env python 2022-11-23 08:26:28 +11:00
tasks gitea: set custom avatars for orgs 2022-03-18 11:06:09 +11:00
README.rst Don't always update gitea project descriptions 2021-03-16 13:06:16 -07:00

README.rst

Create git repos on a gitea server

Role Variables