tests: change deprecated "include" to "include_tasks"

This commit is contained in:
Felix Hamme 2023-05-23 14:09:28 +02:00
commit 8283a1dc03
19 changed files with 178 additions and 101 deletions

View file

@ -10,7 +10,7 @@
# ========================================================================
# Creation
# ========================================================================
- include: utils/create_user.yml user_name={{ user_name_1 }} user_password={{ user_password_1 }}
- include_tasks: utils/create_user.yml user_name={{ user_name_1 }} user_password={{ user_password_1 }}
- name: Idempotency | Create user that already exist (expect changed=false)
mysql_user:
@ -55,7 +55,7 @@
# ========================================================================
# Create blank user to be removed later
- include: utils/create_user.yml user_name="" user_password='KJFDY&D*Sfuysf'
- include_tasks: utils/create_user.yml user_name="" user_password='KJFDY&D*Sfuysf'
- name: Idempotency | Remove blank user with hosts=all (expect changed)
mysql_user: