mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-22 12:50:24 -07:00
fix CI
This commit is contained in:
parent
39a4f32540
commit
d3486a16c8
2 changed files with 8 additions and 2 deletions
|
@ -11,6 +11,9 @@
|
|||
- name: Add fake port to config file
|
||||
shell: 'echo "port = {{ fake_port }}" >> {{ config_file }}'
|
||||
|
||||
- name: Add blank line
|
||||
shell: 'echo "" >> {{ config_file }}'
|
||||
|
||||
- name: Create include_dir
|
||||
file:
|
||||
path: '{{ include_dir }}'
|
||||
|
@ -18,7 +21,10 @@
|
|||
mode: '0777'
|
||||
|
||||
- name: Add include_dir
|
||||
shell: 'echo "!include_dir {{ include_dir }}" >> {{ config_file }}'
|
||||
lineinfile:
|
||||
path: '{{ config_file }}'
|
||||
line: '!includedir {{ include_dir }}'
|
||||
insertafter: EOF
|
||||
|
||||
- name: Create database using fake port to connect to, must fail
|
||||
mysql_db:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue