# managing jenkins jobs?

**URL:** <https://forum.ansible.com/t/managing-jenkins-jobs/19335>\
**Category:** Ansible Project\
**Created:** [September 23, 2015, 11:19am UTC](https://forum.ansible.com/t/managing-jenkins-jobs/19335 "2015-09-23T11:19:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dick\_Davies](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Dick\_Davies](https://forum.ansible.com/u/Dick_Davies)\
**Post date:** [September 23, 2015, 11:19am UTC](https://forum.ansible.com/t/managing-jenkins-jobs/19335/1 "2015-09-23T11:19:46Z")

</div>

Hi all

been googling to no avail - I want to manage Jenkins with  
Ansible, and have the basics for the master here:

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[https://github.com/rasputnik/ansible-jenkins](https://github.com/rasputnik/ansible-jenkins)

Next step is to configure some plugins and global config;  
this seems like it'd be a pretty common use case but although  
some plugins have a separate config file, the majority of them  
add stanzas to the main config.xml.

I can't see much to help me with managing 'fragments' of XML rather  
than lineinfile (shudder). Has anyone had any success with this approach?

---

<div class="post-metadata">

**Author:** ![jitakirin](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@jitakirin](https://forum.ansible.com/u/jitakirin)\
**Post date:** [September 26, 2015, 9:11pm UTC](https://forum.ansible.com/t/managing-jenkins-jobs/19335/2 "2015-09-26T21:11:50Z")

</div>

You can start with [https://galaxy.ansible.com/list#/roles/2451](https://galaxy.ansible.com/list#/roles/2451) - this is a role showing entire deployment and config so you can get the idea, but there are other roles from the same user that deal with individual things (like jobs, plugins, etc.).

---

<div class="post-metadata">

**Author:** ![Dick\_Davies](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Dick\_Davies](https://forum.ansible.com/u/Dick_Davies)\
**Post date:** [September 26, 2015, 10:59pm UTC](https://forum.ansible.com/t/managing-jenkins-jobs/19335/3 "2015-09-26T22:59:54Z")

</div>

I did come across that one on github - there are \*tons\* of teeny  
little roles in there that all do 1 thing.

I'll dig around in there till I find one that looks close to what I  
need. Thanks!
