Update tests/integration/targets/test_mysql_user/tasks/test_password_expire.yml

Co-authored-by: Laurent Indermühle <laurent.indermuehle@pm.me>
This commit is contained in:
tompal3 2024-01-09 08:39:38 +02:00 committed by GitHub
parent e255551950
commit 379b25e8fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,12 +163,7 @@
state: present state: present
register: result register: result
check_mode: True check_mode: True
ignore_errors: true failed_when: result is not changed
- name: password_expire | Assert that check mode for user creation
assert:
that:
- result.changed == true
- include_tasks: utils/remove_user.yml - include_tasks: utils/remove_user.yml
vars: vars: