From 8f5129cbef13ad8efdba53a50b8ec42ec8be5acb Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Tue, 4 Mar 2025 19:20:25 -0600 Subject: [PATCH] dch-webhooks: Enable test hosts in provisioner By default, the _pyrocufflink_ Ansible inventory plugin ignores VMs whose names begin with `test-`. This prevents Jenkins from failing to apply policy to machines that it should not be managing. The host provisioner job, though, should apply policy to those machines, so we need to disable that filter. --- dch-webhooks/ansible-job.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dch-webhooks/ansible-job.yaml b/dch-webhooks/ansible-job.yaml index f8d5c43..8805676 100644 --- a/dch-webhooks/ansible-job.yaml +++ b/dch-webhooks/ansible-job.yaml @@ -67,6 +67,8 @@ spec: value: /run/secrets/host-provisioner/rabbitmq/tls.key - name: AMQP_EXTERNAL_CREDENTIALS value: '1' + - name: PYROCUFFLINK_EXCLUDE_TEST + value: 'false' securityContext: readOnlyRootFilesystem: true volumeMounts: