I don’t know anything about ansible, so this may be off base, but maybe add a 
job parameter to control it?

From: <[email protected]> on behalf of "[email protected]" 
<[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Thursday, November 29, 2018 at 8:38 AM
To: Jenkins Users <[email protected]>
Subject: Best way to adjust Ansible options when running playbooks from Jenkins

Hello,
I'm new Jenkins and my goal is to try and use Jenkins as a GUI frontend to run 
Ansible playbooks on networking devices.  The playbooks will do things such as 
backing up configs or performing upgrades and other various operations.  I 
installed the Ansible plugin and I built a free style project  and successfully 
used the Ansible plugin to run a playbook (All good as a first test...).  With 
that said, how can I control the devices I want the playbook to run against 
without going into "Build configuration" and modifying the "Host subset" field 
(equivalent of using the --limit option on the Ansible command line).  I'd like 
to have others in my group be able to run the Ansible playbooks, against 
networking devices of their choice, without going into the "Build 
configuration" section of Jenkins.  Is there a way to do this?

Thanks
Al Silverstein
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4c64c6c9-03d6-4825-9416-54308280796b%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/4c64c6c9-03d6-4825-9416-54308280796b%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/819FB1FE-13A1-437D-A38A-5BC5C0D523BD%40godaddy.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to