File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 40
40
41
41
- set_fact :
42
42
selenium_system_manager : sysv
43
- when : ansible_distribution == 'Ubuntu' and ansible_distribution_version[0:4 ] != '16.04'
43
+ when : ansible_distribution == 'Ubuntu' and ansible_distribution_version[0:5 ] != '16.04'
44
44
45
45
# #####################################################################
46
46
# ############## SYSV INIT ################
Original file line number Diff line number Diff line change 36
36
when : selenium_system_manager == 'sysv'
37
37
tags : [test]
38
38
39
+ - name : Test restart selenium server for systemd
40
+ service : name=selenium state=restarted
41
+ when : selenium_system_manager == 'systemd'
42
+ tags : [test]
43
+
39
44
- name : Pause cause i did not find a good way to wait for server to be running with systemd unit files
40
45
pause : seconds=10
41
46
when : selenium_system_manager == 'systemd'
You can’t perform that action at this time.
0 commit comments