Commit Graph

5 Commits

Author SHA1 Message Date
James E. Blair 3ec48b986e Remove unused ansible modules
These are the restricted ansible modules and symlinks which are
no longer required.

Change-Id: I8c7b5b00a2f3c84ae780a471bd19f0a2c971a19e
2022-04-13 14:17:04 -07:00
Tobias Henkel 9843436311
Drop support for ansible 2.7
Ansible 2.7 is in security fix only maintenance mode since quite some
time and will be end of life soon. It further blocks upgrade of zuul
to Python 2.8 due to incompatibilities. Thus drop support.

Change-Id: I13802db3314450ad149fdadacd1e2e70dd8468ef
Depends-On: https://review.opendev.org/727345
2020-09-04 16:15:33 +02:00
Tobias Henkel bf4e9893d0
Block localhost shell tasks in untrusted playbooks
Zuul was designed to block local code execution in untrusted
environments to not only rely on bwrap to contain a job. This got
broken since the creation of a command plugin that injects the
zuul_job_id which is required for log streaming. However this plugin
doesn't do a check if the task is a localhost task. Further it is
required in trusted and untrusted environments due to log
streaming. Thus we need to fork this plugin and restrict the variant
that is used in untrusted environments.

We do this by moving actiongeneral/command.py back to action/*. We
further introduce a new catecory actiontrusted which gets the
unrestricted version of this plugin.

Change-Id: If81cc46bcae466f4c071badf09a8a88469ae6779
Story: 2007935
Task: 40391
2020-07-21 19:18:10 +02:00
Andy Ladjadj 98a3d16a97 Fix: prevent usage of hashi_vault
Rename typo in hashi_vault lookup files

Change-Id: Ie3e1d46dce222d2c0ced50cf3437dfb3ce787e51
2019-09-10 14:55:19 +02:00
Tobias Henkel fed4d627ce
Support ansible 2.7
We should keep up with recent ansible versions so support 2.7.

Change-Id: Ic4234784f104690d72cfac71e09ecd170ccce1b5
2019-03-15 09:09:50 +01:00