December 2017
Intermediate to advanced
364 pages
7h 30m
English
Set up Jenkins on the server to be used as a CI/CD platform for OWASP ZAP. This will return the Jenkins administrator password and once it has been done, we can install the Ansible plugin:
- name: installing jenkins in ubuntu 16.04 hosts: jenkins remote_user: {{ remote_user_name }} gather_facts: False become: yes vars: remote_user_name: ubuntu tasks: - name: adding jenkins gpg key apt_key: url: 'https://pkg.jenkins.io/debian/jenkins-ci.org.key' state: present - name: jeknins repository to system apt_repository: repo: 'deb http://pkg.jenkins.io/debian-stable binary/' state: present - name: installing jenkins apt: name: jenkins state: present update_cache: yes - name: adding jenkins to startup service: name: jenkins state ...