/ansible-jenkins-nssm

Example repository of an Ansible playbook with roles to manage the Jenkins service on Windows using NSSM.

BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Jenkins Windows NSSM Service

Build Status Project Status: Abandoned – Initial development has started, but there has not yet been a stable, usable release; the project has been abandoned and the author(s) do not intend on continuing development.

Manage the Jenkins service on Windows with NSSM.

Requirements

A vault password. The vault password in this sample repository is hunter2. Putting the vault key file in your git repository is wrong. I put it here only as an example so you could see what is inside the sample vault file.

Role Variables

chocolatey_packages:
  - 7zip
  - curl
  - dotnet4.5
  - git
  - groovy
  - notepadplusplus
  - nsis
  - nssm
  - powershell
  - python2
  - python3
  - svn
  - vmware-tools
  - webdeploy
  - windbg
  - winmerge
  - winscp
  - wixtoolset

jenkins_path: C:\Jenkins\jenkins.exe
jenkins_user: ""
jenkins_password: ""

Dependencies

None.

Example Playbook

- hosts: jenkins

  pre_tasks:
    - action: win_ping

  roles:
    - packages
    - jenkins

License

BSD