Last active
August 29, 2015 14:25
-
-
Save cecepm/b7fa9ef79c5464340c28 to your computer and use it in GitHub Desktop.
Ansible task for Installing jenkins LTS release on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| - name: Add Jenkins apt key | |
| apt_key: url=http://pkg.jenkins-ci.org/debian-stable/jenkins-ci.org.key state=present | |
| - name: Add Java repository to sources | |
| apt_repository: repo="deb http://pkg.jenkins-ci.org/debian-stable binary/" state=present | |
| - name: Update APT package cache | |
| apt: update_cache=yes | |
| - name: Install Jenkins | |
| apt: name=jenkins state=latest install_recommends=yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment