File tree 5 files changed +11
-21
lines changed
5 files changed +11
-21
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -6,20 +6,20 @@ driver:
6
6
lint :
7
7
name : yamllint
8
8
platforms :
9
- - name : debian9
10
- image : debian:9
9
+ - name : centos6
10
+ image : centos:6
11
11
volumes :
12
12
- /tmp/java:/tmp/java
13
13
groups :
14
- - debian
14
+ - fedora
15
15
provisioner :
16
16
name : ansible
17
17
playbooks :
18
- converge : playbook.yml
18
+ converge : ../default/ playbook.yml
19
19
lint :
20
20
name : ansible-lint
21
21
scenario :
22
- name : debian9_jdk11
22
+ name : centos6
23
23
verifier :
24
24
name : testinfra
25
25
directory : ../default/tests/
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9
9
def test_java (host ):
10
10
11
11
assert host .exists ("java" )
12
- assert host .exists ("javac" )
13
- assert host .exists ("jar" )
14
12
15
13
if (host .system_info .distribution != "opensuse-leap" ):
14
+ assert host .exists ("javac" )
15
+ assert host .exists ("jar" )
16
16
assert host .exists ("keytool" )
17
17
18
18
assert host .run_test ("java -version" )
Original file line number Diff line number Diff line change 84
84
name : javac
85
85
link : /usr/bin/javac
86
86
path : " {{ java_install_dir }}/{{ java_default_link_name }}/bin/javac"
87
+ # Does not work for OpenSuse, because there javac is a slave of java
88
+ when : ansible_pkg_mgr != "zypper"
87
89
88
90
- name : Alternatives link for "jar"
89
91
alternatives :
90
92
name : jar
91
93
link : /usr/bin/jar
92
94
path : " {{ java_install_dir }}/{{ java_default_link_name }}/bin/jar"
95
+ # Does not work for OpenSuse, because there jar is a slave of java
96
+ when : ansible_pkg_mgr != "zypper"
93
97
94
98
- name : Alternatives link for "keytool"
95
99
alternatives :
You can’t perform that action at this time.
0 commit comments