{"id":13941958,"url":"https://github.com/mdn/ansible-jenkins","last_synced_at":"2025-07-20T05:31:35.368Z","repository":{"id":34563546,"uuid":"144915164","full_name":"mdn/ansible-jenkins","owner":"mdn","description":"(Deprecated) Jenkins ansible playbook","archived":true,"fork":false,"pushed_at":"2023-09-05T14:58:07.000Z","size":77,"stargazers_count":27,"open_issues_count":0,"forks_count":42,"subscribers_count":13,"default_branch":"main","last_synced_at":"2024-11-27T11:37:37.283Z","etag":null,"topics":["ansible","jenkins"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-08-16T00:05:03.000Z","updated_at":"2024-11-03T17:33:59.000Z","dependencies_parsed_at":"2024-01-19T21:12:28.741Z","dependency_job_id":"ba28a359-8a38-4ced-a1e0-c82be024af82","html_url":"https://github.com/mdn/ansible-jenkins","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdn/ansible-jenkins","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdn%2Fansible-jenkins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdn%2Fansible-jenkins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdn%2Fansible-jenkins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdn%2Fansible-jenkins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdn","download_url":"https://codeload.github.com/mdn/ansible-jenkins/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdn%2Fansible-jenkins/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266071519,"owners_count":23871940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","jenkins"],"created_at":"2024-08-08T02:01:37.794Z","updated_at":"2025-07-20T05:31:30.308Z","avatar_url":"https://github.com/mdn.png","language":"Jinja","funding_links":[],"categories":["Jinja"],"sub_categories":[],"readme":"# ansible-jenkins\nThis is an [ansible](http://ansible.com/) playbook to install and\nconfigure [Jenkins-CI](http://jenkins-ci.org/).\n\n\u003e **Note**\n\u003e As of 2023, we have migrated all our CI/CD workflows to GitHub Actions and no longer use Jenkins.\n\nThe playbook will install NGINX, Docker, a local-only\nSMTP server and Jenkins. It will also install Docker-maintenance cron\njobs and Jenkins-backup scripts to S3.\n\nThis playbook assumes that the instance is behind an elb and the elb will\ndo its SSL termination. The ssl certificate can be obtained using AWS ACM\nor can be manually uploaded\n\nThis playbook is a rework of the [ee-infra-jenkins](https://github.com/mozmeao/ee-infra-jenkins)\n\n## Build your own\n1. SSH to host you want to run this\n2. Install `git` and `ansible`\n3. Clone this repository to a location\n4. Run the playbook\n```\nansible-playbook site.yml -e \"nginx_htpasswd=YourPasswordHere jenkins_backup_bucket=BucketNameHere jenkins_backup_dms=deadmanssitchurl jenkins_backup_directory=backupdirpath papertrail_host=papertrailurl papertrail_port=papertrailport\"\n```\n\nCurrently this playbook is being used as part of an autoscaling group userdata that clones and runs this playbook on boot.\n\n## Jenkins backups\n\nThis playbook expects that you use the [ThinBackup](https://wiki.jenkins-ci.org/display/JENKINS/thinBackup) Jenkins plugin and that you save backups in `/data/backups`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdn%2Fansible-jenkins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdn%2Fansible-jenkins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdn%2Fansible-jenkins/lists"}