Document example of dump with pipefail

This commit is contained in:
Laurent Indermuehle 2022-06-23 09:27:09 +02:00
commit 0b3d793572
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09

View file

@ -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'''