Skip to content
Snippets Groups Projects
Commit 24aa8fed authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#85 Linting

parent 335e50b6
No related branches found
No related tags found
No related merge requests found
java_version: '11'
java_version: 11
---
# file: roles/java/tasks/install-16.yml
- name: "Install Agent"
- name: Install Agent
apt:
pkg='openjdk-9-jre'
state='present'
......
---
# file: roles/java/tasks/install-18.yml
- name: "Install Agent"
- name: Install Agent
apt:
pkg='openjdk-{{ java_version }}-jre'
state='present'
......
---
# file: roles/java/tasks/main.yml
- name: "Java Role"
set_fact: role_java_started=true
tags: 'always'
- name: Java Role
set_fact:
role_java_started: yes
tags:
- always
- block:
- include_tasks: 'install-{{ ansible_distribution_major_version }}.yml'
- include_tasks: install-{{ ansible_distribution_major_version }}.yml
when: '"java" not in excluded_roles'
when: not excluded_roles or "java" not in excluded_roles
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment