From ef8f38c09e24dbc27bf5b8328f19945cd4e75582 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Thu, 22 Apr 2021 21:47:40 -0400 Subject: [PATCH] Expand options to pass Ansible playbook --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5181fb6..82ddbf1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,7 +10,9 @@ pipeline { url: "${env.URL}" } ansiblePlaybook playbook: "${env.PLAYBOOK}", - inventory: "${env.INVENTORY}" + inventory: "${env.INVENTORY}", + limit: params.getOrDefault('LIMIT', 'all'), + tags: params.getOrDefault('TAGS', 'all') } } }