Ansible job definitions for Zuul
Go to file
James E. Blair 9e22cfdb0f Remove shebang from all python ansible modules
This commit in Ansible:
9142be2f6c

now allows Python modules to specify their interpreter with the shebang.
We expect our roles to use the discovered python interpreter on remote
nodes, and on the executor, we need them to use the virtualenv.  Removing
the specific shebang accomplishes this under Ansible 6, and has no effect
under older versions of Ansible.

Without this, for example, the log upload roles would not have access to
their cloud libraries.

Also update our ansible/cli check in our module files.  Many of our modules
can be run from the command line for ease of testing, but the check that we
perform to determine if the module is being invoked from the command line
or Ansible fails on Ansible 5.  Update it to a check that should work in
all 4 versions of Ansible that Zuul uses.

Change-Id: I4e6e85156459cca032e6c3e1d8a9284be919ccca
2022-09-15 13:48:10 -07:00
doc Merge "Add the post-reboot-tasks role" 2022-06-17 15:46:53 +00:00
playbooks linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
roles Remove shebang from all python ansible modules 2022-09-15 13:48:10 -07:00
test-playbooks Remove redundant ssh known hosts prep 2022-09-12 12:55:24 -07:00
tests Upgrade ansible-lint to 5.0 2021-03-17 15:44:43 +00:00
tools Fedora : update to Fedora 36 release nodes 2022-08-22 15:27:11 +10:00
util-tasks More E208 mode fixes 2020-10-31 07:34:03 +00:00
zuul-tests.d Fedora : update to Fedora 36 release nodes 2022-08-22 15:27:11 +10:00
zuul.d upload-pypi: support API token upload 2022-07-13 15:18:08 +10:00
.ansible-lint linters: update to ansible-lint 6 2022-07-27 17:13:39 +10:00
.gitignore Enable progressive mode with ansible-lint 2020-11-07 03:20:19 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:25:30 +00:00
.stestr.conf Add a python unit test framework 2018-07-25 09:11:25 -07:00
.yamllint linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
CONTRIBUTING.rst Link the policy to the CONTRIBUTING.rst file 2020-01-28 07:21:08 -05:00
LICENSE Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
README.rst Add installation/deprecation documentation 2018-04-11 08:03:57 -07:00
bindep.txt Switch py3.10 testing to Ubuntu Jammy 2022-05-04 16:52:37 -07:00
linters-requirements.txt ansible-lint: pin to < 6.5 2022-08-29 11:07:31 +10:00
setup.cfg Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
setup.py setup.py: override modules to stop auto-detection 2022-07-27 11:14:06 +10:00
test-constraints.txt pin oauthlib version for python2.7 2022-01-27 14:35:06 +01:00
test-requirements.txt Fix two testing problems 2022-06-16 10:30:00 -07:00
tox.ini ansible-lint: disable progressive mode 2022-07-27 17:16:19 +10:00

README.rst

Zuul Jobs

This repo contains a set of Zuul jobs and Ansible roles suitable for use by any Zuul system.