Remove Mark Theunissen as maintainer
This commit is contained in:
parent
94d163f3ed
commit
c3450d542f
2 changed files with 5 additions and 5 deletions
|
@ -30,7 +30,7 @@ options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
- name of the database to add or remove
|
- name of the database to add or remove
|
||||||
- name=all May only be provided if I(state) is C(dump) or C(import).
|
- name=all May only be provided if I(state) is C(dump) or C(import).
|
||||||
- if name=all Works like --all-databases option for mysqldump (Added in 2.0)
|
- if name=all Works like --all-databases option for mysqldump (Added in 2.0)
|
||||||
required: true
|
required: true
|
||||||
default: null
|
default: null
|
||||||
|
@ -370,7 +370,7 @@ def main():
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
module.fail_json(msg="error deleting database: " + str(e))
|
module.fail_json(msg="error deleting database: " + str(e))
|
||||||
elif state == "dump":
|
elif state == "dump":
|
||||||
rc, stdout, stderr = db_dump(module, login_host, login_user,
|
rc, stdout, stderr = db_dump(module, login_host, login_user,
|
||||||
login_password, db, target, all_databases,
|
login_password, db, target, all_databases,
|
||||||
port=login_port,
|
port=login_port,
|
||||||
socket=module.params['login_unix_socket'])
|
socket=module.params['login_unix_socket'])
|
||||||
|
@ -379,7 +379,7 @@ def main():
|
||||||
else:
|
else:
|
||||||
module.exit_json(changed=True, db=db, msg=stdout)
|
module.exit_json(changed=True, db=db, msg=stdout)
|
||||||
elif state == "import":
|
elif state == "import":
|
||||||
rc, stdout, stderr = db_import(module, login_host, login_user,
|
rc, stdout, stderr = db_import(module, login_host, login_user,
|
||||||
login_password, db, target, all_databases,
|
login_password, db, target, all_databases,
|
||||||
port=login_port,
|
port=login_port,
|
||||||
socket=module.params['login_unix_socket'])
|
socket=module.params['login_unix_socket'])
|
||||||
|
|
|
@ -121,7 +121,7 @@ notes:
|
||||||
the file."
|
the file."
|
||||||
|
|
||||||
requirements: [ "MySQLdb" ]
|
requirements: [ "MySQLdb" ]
|
||||||
author: "Mark Theunissen (@marktheunissen)"
|
author: "Ansible Core Team"
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = """
|
EXAMPLES = """
|
||||||
|
@ -140,7 +140,7 @@ EXAMPLES = """
|
||||||
# Specify grants composed of more than one word
|
# Specify grants composed of more than one word
|
||||||
- mysql_user: name=replication password=12345 priv=*.*:"REPLICATION CLIENT" state=present
|
- mysql_user: name=replication password=12345 priv=*.*:"REPLICATION CLIENT" state=present
|
||||||
|
|
||||||
# Revoke all privileges for user 'bob' and password '12345'
|
# Revoke all privileges for user 'bob' and password '12345'
|
||||||
- mysql_user: name=bob password=12345 priv=*.*:USAGE state=present
|
- mysql_user: name=bob password=12345 priv=*.*:USAGE state=present
|
||||||
|
|
||||||
# Example privileges string format
|
# Example privileges string format
|
||||||
|
|
Loading…
Reference in a new issue