{"id":18469098,"url":"https://github.com/sansible/jenkins_server","last_synced_at":"2026-05-05T23:31:45.703Z","repository":{"id":74439359,"uuid":"98660220","full_name":"sansible/jenkins_server","owner":"sansible","description":"See https://github.com/sansible/sansible for general info","archived":false,"fork":false,"pushed_at":"2017-09-19T12:34:43.000Z","size":10,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":7,"default_branch":"develop","last_synced_at":"2025-05-07T19:53:09.905Z","etag":null,"topics":["ansible","ansible-roles","jenkins"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sansible.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-28T14:58:38.000Z","updated_at":"2020-07-25T15:57:00.000Z","dependencies_parsed_at":"2023-02-26T18:16:17.176Z","dependency_job_id":null,"html_url":"https://github.com/sansible/jenkins_server","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/sansible/jenkins_server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fjenkins_server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fjenkins_server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fjenkins_server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fjenkins_server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sansible","download_url":"https://codeload.github.com/sansible/jenkins_server/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fjenkins_server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32672540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-roles","jenkins"],"created_at":"2024-11-06T10:08:56.101Z","updated_at":"2026-05-05T23:31:45.687Z","avatar_url":"https://github.com/sansible.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jenkins_server\n\nMaster: [![Build Status](https://travis-ci.org/sansible/jenkins_server.svg?branch=master)](https://travis-ci.org/sansible/jenkins_server)  \nDevelop: [![Build Status](https://travis-ci.org/sansible/jenkins_server.svg?branch=develop)](https://travis-ci.org/sansible/jenkins_server)\n\n* [ansible.cfg](#ansible-cfg)\n* [Installation and Dependencies](#installation-and-dependencies)\n* [Tags](#tags)\n* [Examples](#examples)\n\nThis roles installs [Jenkins](https://jenkins.io/) for CI/CD. Comes with basic\nauth and plugin installation.\n\n\n\n\n## ansible.cfg\n\nThis role is designed to work with merge \"hash_behaviour\". Make sure your\nansible.cfg contains these settings\n\n```INI\n[defaults]\nhash_behaviour = merge\n```\n\n\n\n\n## Installation and Dependencies\n\nTo install run `ansible-galaxy install sansible.jenkins_server` or add this to your\n`roles.yml`.\n\n```YAML\n- name: sansible.jenkins_server\n  version: v1.0\n```\n\nand run `ansible-galaxy install -p ./roles -r roles.yml`\n\n\n\n\n## Tags\n\nThis role uses tags: **build** and **configure**\n\n* `build` - Installs ...\n* `configure` - Configures ...\n\n\n\n\n## Examples\n\nSimply include role in your playbook:\n\n```YAML\n- name: Install and configure jenkins_server\n  hosts: \"somehost\"\n\n  roles:\n    - role: sansible.jenkins_server\n```\n\nBy default private security will be enabled with an admin user, you can change\nthe default admin username and password like so:\n\n```YAML\n- name: Install and configure jenkins_server\n  hosts: \"somehost\"\n\n  roles:\n    - role: sansible.jenkins_server\n      jenkins_server:\n        basic_auth:\n          admin_password: changemechangeme\n          admin_username: admin\n```\n\nIf you want to use another auth plugin then you can disable basic auth like so:\n\n```YAML\n- name: Install and configure jenkins_server\n  hosts: \"somehost\"\n\n  roles:\n    - role: sansible.jenkins_server\n      jenkins_server:\n        basic_auth:\n          enabled: no\n```\n\nPlugins can be installed as well, state and version are optional:\n\n```YAML\n- name: Install and configure jenkins_server\n  hosts: \"somehost\"\n\n  roles:\n    - role: sansible.jenkins_server\n      jenkins_server:\n        plugins:\n          - name: ansicolor\n            state: present\n            version: 0.1.2\n          - name: git\n            version: 3.5.1\n          - name: timestamper\n            version: 1.8.8\n```\n\nNote that if you switch off basic auth then this step will only run on a fresh\ninstallation since this role will not have credentials to authenticate.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsansible%2Fjenkins_server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsansible%2Fjenkins_server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsansible%2Fjenkins_server/lists"}