Class: Ansible::Ruby::Modules::Mysql_db
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Mysql_db
- Defined in:
- lib/ansible/ruby/modules/generated/database/mysql/mysql_db.rb
Overview
Add or remove MySQL databases from a remote host.
Instance Method Summary collapse
-
#collation ⇒ Object?
Collation mode (sorting).
-
#encoding ⇒ Object?
Encoding mode to use, examples include C(utf8) or C(latin1_swedish_ci).
-
#ignore_tables ⇒ Object?
A list of table names that will be ignored in the dump of the form database_name.table_name.
-
#name ⇒ String
Name of the database to add or remove,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).
-
#quick ⇒ :yes, ...
Option used for dumping large tables.
-
#single_transaction ⇒ :yes, ...
Execute the dump in a single transaction.
-
#state ⇒ :present, ...
The database state.
-
#target ⇒ String?
Location, on the remote host, of the dump file to read from or write to.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#collation ⇒ Object?
Returns Collation mode (sorting). This only applies to new table/databases and does not update existing ones, this is a limitation of MySQL.
20 |
# File 'lib/ansible/ruby/modules/generated/database/mysql/mysql_db.rb', line 20 attribute :collation |
#encoding ⇒ Object?
Returns Encoding mode to use, examples include C(utf8) or C(latin1_swedish_ci).
23 |
# File 'lib/ansible/ruby/modules/generated/database/mysql/mysql_db.rb', line 23 attribute :encoding |
#ignore_tables ⇒ Object?
Returns A list of table names that will be ignored in the dump of the form database_name.table_name.
38 |
# File 'lib/ansible/ruby/modules/generated/database/mysql/mysql_db.rb', line 38 attribute :ignore_tables |
#name ⇒ String
Returns name of the database to add or remove,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).
12 |
# File 'lib/ansible/ruby/modules/generated/database/mysql/mysql_db.rb', line 12 attribute :name |
#quick ⇒ :yes, ...
Returns Option used for dumping large tables.
34 |
# File 'lib/ansible/ruby/modules/generated/database/mysql/mysql_db.rb', line 34 attribute :quick |
#single_transaction ⇒ :yes, ...
Returns Execute the dump in a single transaction.
30 |
# File 'lib/ansible/ruby/modules/generated/database/mysql/mysql_db.rb', line 30 attribute :single_transaction |
#state ⇒ :present, ...
Returns The database state.
16 |
# File 'lib/ansible/ruby/modules/generated/database/mysql/mysql_db.rb', line 16 attribute :state |
#target ⇒ String?
Returns Location, on the remote host, of the dump file to read from or write to. Uncompressed SQL files (C(.sql)) as well as bzip2 (C(.bz2)), gzip (C(.gz)) and xz (Added in 2.0) compressed files are supported.
26 |
# File 'lib/ansible/ruby/modules/generated/database/mysql/mysql_db.rb', line 26 attribute :target |