90aea71a09
Related: RHEL-27138
22 lines
548 B
YAML
22 lines
548 B
YAML
---
|
|
- hosts: localhost
|
|
roles:
|
|
- role: standard-test-source
|
|
tags:
|
|
- always
|
|
- role: standard-test-basic
|
|
tags:
|
|
- classic
|
|
- atomic
|
|
required_packages:
|
|
- java-17-openjdk-devel
|
|
tests:
|
|
- javaVersion1:
|
|
dir: ~
|
|
run: set -ex; useradd franta1; su franta1 -c 'java -version';
|
|
run: set -ex; useradd franta4; su franta4 -c 'javac -version';
|
|
run: ls -l /usr/lib/jvm;
|
|
- javaVersion2:
|
|
dir: ~
|
|
run: set -ex; useradd franta2; su franta2 -c 'java --version'
|