diff options
Diffstat (limited to 'Jenkinsfile')
| -rw-r--r-- | Jenkinsfile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 6d5c430..63715c9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,10 +2,17 @@ pipeline { agent { label "master" } + environment { + ANSIBLE_STDOUT_CALLBACK = "actionable" + } stages { stage("Fetch data") { steps { - sh "ansible -m setup --tree /home/oleg/ansible-out/out majordomo" + sh (["ansible", + "--limit", "'majordomo:!router-miran1.intr:!vpn-dh.majordomo.ru'" + , "-m", "setup", + "--tree", "/home/oleg/ansible-out/out", + "majordomo"].join(" ")) } } stage("Generate reports") { |
