Ansible/playbook/linux/install-jenkins.yml

28 lines
559 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
- name: Install Jenkins
become: yes
import_role:
name: geerlingguy.jenkins
vars:
jenkins_package_state: latest
jenkins_http_port: 8080
- name: UFW Allow Jenkins
become: yes
ufw:
rule: allow
port: 8080
comment: Jenkins