From 17014e2b11a5a9e645edac05c6569431eb7653a6 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Fri, 20 Oct 2023 09:21:37 +0200 Subject: [PATCH] add some mocks so that pipelines lint fine --- .ansible-lint | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.ansible-lint b/.ansible-lint index 98b7050a0..3591eab78 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -17,3 +17,14 @@ skip_list: - fqcn[action-core] - fqcn[action] - var-naming[no-role-prefix] + +# Define required Ansible's variables to satisfy syntax check +extra_vars: + pipeline_type: foreman + pipeline_version: nightly + pipeline_os: centos8-stream + +# Mock roles in order to pass ansible-playbook --syntax-check +mock_roles: + - pulp.pulp_installer.pulp_all_services + - pulp.pulp_installer.pulp_health_check