Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/monit/tasks/test_errors.yml

raw
1 ---
2 # Copyright (c) Ansible Project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 - name: Check an error occurs when wrong process name is used
7 monit:
8 name: missing
9 state: started
10 register: result
11 failed_when: result is not skip and (result is success or result is not failed)