Class: Ansible::Ruby::Modules::Proxysql_manage_config
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Proxysql_manage_config
- Defined in:
- lib/ansible/ruby/modules/generated/database/proxysql/proxysql_manage_config.rb
Overview
The M(proxysql_global_variables) module writes the proxysql configuration settings between layers. Currently this module will always report a changed state, so should typically be used with WHEN however this will change in a future version when the CHECKSUM table commands are available for all tables in proxysql.
Instance Method Summary collapse
-
#action ⇒ :LOAD, :SAVE
The supplied I(action) combines with the supplied I(direction) to provide the semantics of how we want to move the I(config_settings) between the I(config_layers).
-
#config_layer ⇒ :MEMORY, ...
RUNTIME - represents the in-memory data structures of ProxySQL used by the threads that are handling the requests.
-
#config_settings ⇒ :"MYSQL USERS", ...
The I(config_settings) specifies which configuration we’re writing.
-
#direction ⇒ :FROM, :TO
FROM - denotes we’re reading values FROM the supplied I(config_layer) and writing to the next layer.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#action ⇒ :LOAD, :SAVE
Returns The supplied I(action) combines with the supplied I(direction) to provide the semantics of how we want to move the I(config_settings) between the I(config_layers).
12 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_manage_config.rb', line 12 attribute :action |
#config_layer ⇒ :MEMORY, ...
Returns RUNTIME - represents the in-memory data structures of ProxySQL used by the threads that are handling the requests. MEMORY - (sometimes also referred as main) represents the in-memory SQLite3 database. DISK - represents the on-disk SQLite3 database. CONFIG - is the classical config file. You can only LOAD FROM the config file.
24 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_manage_config.rb', line 24 attribute :config_layer |
#config_settings ⇒ :"MYSQL USERS", ...
Returns The I(config_settings) specifies which configuration we’re writing.
16 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_manage_config.rb', line 16 attribute :config_settings |
#direction ⇒ :FROM, :TO
Returns FROM - denotes we’re reading values FROM the supplied I(config_layer) and writing to the next layer. TO - denotes we’re reading from the previous layer and writing TO the supplied I(config_layer).“.
20 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_manage_config.rb', line 20 attribute :direction |