Class: Ansible::Ruby::Modules::Postgresql_db
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Postgresql_db
- Defined in:
- lib/ansible/ruby/modules/generated/database/postgresql/postgresql_db.rb
Overview
Add or remove PostgreSQL databases from a remote host.
Instance Method Summary collapse
-
#encoding ⇒ String?
Encoding of the database.
-
#lc_collate ⇒ String?
Collation order (LC_COLLATE) to use in the database.
-
#lc_ctype ⇒ String?
Character classification (LC_CTYPE) to use in the database (e.g. lower, upper, …) Must match LC_CTYPE of template database unless C(template0) is used as template.
-
#maintenance_db ⇒ String?
The value specifies the initial database (which is also called as maintenance DB) that Ansible connects to.
-
#name ⇒ String
Name of the database to add or remove.
-
#owner ⇒ Object?
Name of the role to set as owner of the database.
-
#state ⇒ :present, ...
The database state.
-
#target ⇒ String?
File to back up or restore from.
-
#target_opts ⇒ String?
Further arguments for pg_dump or pg_restore.
-
#template ⇒ String?
Template used to create the database.
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
#encoding ⇒ String?
23 |
# File 'lib/ansible/ruby/modules/generated/database/postgresql/postgresql_db.rb', line 23 attribute :encoding |
#lc_collate ⇒ String?
27 |
# File 'lib/ansible/ruby/modules/generated/database/postgresql/postgresql_db.rb', line 27 attribute :lc_collate |
#lc_ctype ⇒ String?
31 |
# File 'lib/ansible/ruby/modules/generated/database/postgresql/postgresql_db.rb', line 31 attribute :lc_ctype |
#maintenance_db ⇒ String?
47 |
# File 'lib/ansible/ruby/modules/generated/database/postgresql/postgresql_db.rb', line 47 attribute :maintenance_db |
#name ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/database/postgresql/postgresql_db.rb', line 12 attribute :name |
#owner ⇒ Object?
16 |
# File 'lib/ansible/ruby/modules/generated/database/postgresql/postgresql_db.rb', line 16 attribute :owner |
#state ⇒ :present, ...
35 |
# File 'lib/ansible/ruby/modules/generated/database/postgresql/postgresql_db.rb', line 35 attribute :state |
#target ⇒ String?
39 |
# File 'lib/ansible/ruby/modules/generated/database/postgresql/postgresql_db.rb', line 39 attribute :target |
#target_opts ⇒ String?
43 |
# File 'lib/ansible/ruby/modules/generated/database/postgresql/postgresql_db.rb', line 43 attribute :target_opts |
#template ⇒ String?
19 |
# File 'lib/ansible/ruby/modules/generated/database/postgresql/postgresql_db.rb', line 19 attribute :template |