mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-27 00:11:45 -07:00
Document example of dump with pipefail
This commit is contained in:
parent
2bc2e59695
commit
0b3d793572
1 changed files with 7 additions and 0 deletions
|
@ -303,6 +303,13 @@ EXAMPLES = r'''
|
||||||
login_password: 123456
|
login_password: 123456
|
||||||
name: bobdata
|
name: bobdata
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
- name: Dump a database with compression and catch errors from mysqldump with bash pipefail
|
||||||
|
community.mysql.mysql_db:
|
||||||
|
state: dump
|
||||||
|
name: foo
|
||||||
|
target: /tmp/dump.sql.gz
|
||||||
|
pipefail: true
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = r'''
|
RETURN = r'''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue