Class: Ansible::Ruby::Modules::Proxysql_mysql_users
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Proxysql_mysql_users
- Defined in:
- lib/ansible/ruby/modules/generated/database/proxysql/proxysql_mysql_users.rb
Overview
The M(proxysql_mysql_users) module adds or removes mysql users using the proxysql admin interface.
Instance Method Summary collapse
-
#active ⇒ Object?
A user with I(active) set to C(False) will be tracked in the database, but will be never loaded in the in-memory data structures.
-
#backend ⇒ Boolean?
If I(backend) is set to C(True), this (username, password) pair is used for authenticating to the ProxySQL instance.
-
#default_hostgroup ⇒ Object?
If there is no matching rule for the queries sent by this user, the traffic it generates is sent to the specified hostgroup.
-
#default_schema ⇒ Object?
The schema to which the connection should change to by default.
-
#fast_forward ⇒ Object?
If I(fast_forward) is set to C(True), I(fast_forward) will bypass the query processing layer (rewriting, caching) and pass through the query directly as is to the backend server.
-
#frontend ⇒ Boolean?
If I(frontend) is set to C(True), this (username, password) pair is used for authenticating to the mysqld servers against any hostgroup.
-
#max_connections ⇒ Object?
The maximum number of connections ProxySQL will open to the backend for this user.
-
#password ⇒ Object?
Password of the user connecting to the mysqld or ProxySQL instance.
-
#state ⇒ :present, ...
When C(present) - adds the user, when C(absent) - removes the user.
-
#transaction_persistent ⇒ Object?
If this is set for the user with which the MySQL client is connecting to ProxySQL (thus a “frontend” user), transactions started within a hostgroup will remain within that hostgroup regardless of any other rules.
-
#use_ssl ⇒ Object?
If I(use_ssl) is set to C(True), connections by this user will be made using SSL connections.
-
#username ⇒ String
Name of the user connecting to the mysqld or ProxySQL instance.
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
#active ⇒ Object?
19 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_mysql_users.rb', line 19 attribute :active |
#backend ⇒ Boolean?
37 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_mysql_users.rb', line 37 attribute :backend |
#default_hostgroup ⇒ Object?
25 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_mysql_users.rb', line 25 attribute :default_hostgroup |
#default_schema ⇒ Object?
28 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_mysql_users.rb', line 28 attribute :default_schema |
#fast_forward ⇒ Object?
34 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_mysql_users.rb', line 34 attribute :fast_forward |
#frontend ⇒ Boolean?
41 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_mysql_users.rb', line 41 attribute :frontend |
#max_connections ⇒ Object?
45 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_mysql_users.rb', line 45 attribute :max_connections |
#password ⇒ Object?
16 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_mysql_users.rb', line 16 attribute :password |
#state ⇒ :present, ...
48 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_mysql_users.rb', line 48 attribute :state |
#transaction_persistent ⇒ Object?
31 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_mysql_users.rb', line 31 attribute :transaction_persistent |
#use_ssl ⇒ Object?
22 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_mysql_users.rb', line 22 attribute :use_ssl |
#username ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_mysql_users.rb', line 12 attribute :username |