homeserver/roles/geerlingguy.jenkins/molecule/default/converge.yml

22 lines
413 B
YAML
Raw Normal View History

---
- name: Converge
hosts: all
become: true
pre_tasks:
- include_tasks: java-8.yml
- include_tasks: java-11.yml
when:
- ansible_distribution == 'Debian'
- ansible_distribution_major_version == '10'
roles:
- role: geerlingguy.java
- role: geerlingguy.jenkins
post_tasks:
- name: Check if Jenkins is running.
uri:
url: "http://127.0.0.1:8080/"