1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix MacOS shutdown integration test (#769)

(cherry picked from commit 4e56347fc1)
This commit is contained in:
Amin Vakil 2020-08-11 22:37:30 +04:30 committed by Felix Fontein
parent a9afbe59e5
commit 26ea01d5b4

View file

@ -54,7 +54,7 @@
that:
- '"-h +1" in shutdown_result["shutdown_command"]'
- '"-h +0" in shutdown_result_minus["shutdown_command"]'
when: ansible_system in ['Void', 'MacOSX', 'OpenBSD']
when: ansible_system in ['Void', 'Darwin', 'OpenBSD']
- name: Verify shutdown delay is present in seconds in FreeBSD
assert:
@ -77,7 +77,7 @@
- '"-d 0" in shutdown_result_minus["shutdown_command"]'
when: ansible_system == 'VMKernel'
- name: Remove systemd_sysv in ubuntu 18 in case it has been installed in test
- name: Remove systemd-sysv in ubuntu 18 in case it has been installed in test
apt:
name: systemd-sysv
state: absent