Ansible/playbook/linux/install-jenkins.yml

22 lines
466 B
YAML
Raw Normal View History

---
- name: install Jenkins
hosts: jenkins
tasks:
- name: Install Java
2019-05-02 07:58:22 -07:00
become: yes
import_role:
name: geerlingguy.java
2019-05-02 07:58:22 -07:00
# https://galaxy.ansible.com/geerlingguy/jenkins
- name: Install Jenkins
become: yes
import_role:
name: geerlingguy.jenkins
vars:
jenkins_package_state: latest
jenkins_http_port: 8080