mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-05 21:54:24 -07:00
tests: change deprecated "include" to "include_tasks"
This commit is contained in:
parent
b6ad472c78
commit
8283a1dc03
19 changed files with 178 additions and 101 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue