mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-26 07:51:46 -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
|
||||
name: bobdata
|
||||
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'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue