Updated Ansible role to support final release of Jenkins 2. Secure out of the box!

20 views
Skip to first unread message

Karl Davis

unread,
May 3, 2016, 9:47:24 AM5/3/16
to Jenkins Users
Howdy all,

Now that the final 2.0 (and 2.1, even) release is out the door, I've updated my Ansible role for installing Jenkins to move away from the .deb-based install and use the official APT repo: https://github.com/karlmdavis/ansible-jenkins2.

Additionally, I put together a (horrifyingly, and probably overly, complex) init.d script that enables this role to work securely even if you're customizing your Jenkins authentication/security realm. I've tested it using the GitHub OAuth plugin, and it seems to be working just fine.

Oh, and also:
  • It's now idempotent-- it only reports changes when something actually changed.
  • It will automatically update any/all Jenkins plugins with updates available.

Happy DevOpsing!
Karl M. Davis


Reply all
Reply to author
Forward
0 new messages