samdoran / samdoran.macos / 2.5.5 / module / parallels_desktop Make sure that Parallels Desktop is not running | "added in version" 2.5.0 of samdoran.macos" Authors: Sviatoslav Sydorenko (@webknjaz) preview | supported by communitysamdoran.macos.parallels_desktop (2.5.5) — module
Install with ansible-galaxy collection install samdoran.macos:==2.5.5
collections: - name: samdoran.macos version: 2.5.5
Ask Parallels Desktop to terminate in many ways.
This module attempts to kill Parallels using a C(osascript) command,
waiting for it to terminate and then following up with
C(kill -SIGTERM) and finally with C(kill -SIGKILL) as the last
resort. The use of the fallbacks depends on the ``state`` requested.
--- - name: Make sure that Parallels Desktop is turned off samdoran.macos.parallels_desktop: state: murdered
state: choices: - started - terminated - killed - murdered default: started description: The most ruthless method allowed for stopping the Parallels Desktop application execution, unless set to ``started``. type: str
cmd: description: Raw underlying command returned: failure type: list cmd_string: description: Underlying command as a string returned: failure type: str msg: description: Execution details returned: always type: str rc: description: Return code of the underlying command returned: failure type: int stderr: description: Error output of the underlying command returned: failure type: str stdout: description: Standard output of the underlying command returned: failure type: str