Class: Ansible::Ruby::Modules::Postgresql_db

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/database/postgresql/postgresql_db.rb

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#encodingString?

Returns Encoding of the database.

Returns:

  • (String, nil)

    Encoding of the database



38
# File 'lib/ansible/ruby/modules/generated/core/database/postgresql/postgresql_db.rb', line 38

attribute :encoding

#lc_collateString?

Returns Collation order (LC_COLLATE) to use in the database. Must match collation order of template database unless C(template0) is used as template.

Returns:

  • (String, nil)

    Collation order (LC_COLLATE) to use in the database. Must match collation order of template database unless C(template0) is used as template.



42
# File 'lib/ansible/ruby/modules/generated/core/database/postgresql/postgresql_db.rb', line 42

attribute :lc_collate

#lc_ctypeString?

Returns 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.

Returns:

  • (String, nil)

    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.



46
# File 'lib/ansible/ruby/modules/generated/core/database/postgresql/postgresql_db.rb', line 46

attribute :lc_ctype

#login_hostString?

Returns Host running the database.

Returns:

  • (String, nil)

    Host running the database



20
# File 'lib/ansible/ruby/modules/generated/core/database/postgresql/postgresql_db.rb', line 20

attribute :login_host

#login_passwordObject?

Returns The password used to authenticate with.

Returns:

  • (Object, nil)

    The password used to authenticate with



17
# File 'lib/ansible/ruby/modules/generated/core/database/postgresql/postgresql_db.rb', line 17

attribute :login_password

#login_unix_socketObject?

Returns Path to a Unix domain socket for local connections.

Returns:

  • (Object, nil)

    Path to a Unix domain socket for local connections



24
# File 'lib/ansible/ruby/modules/generated/core/database/postgresql/postgresql_db.rb', line 24

attribute :login_unix_socket

#login_userObject?

Returns The username used to authenticate with.

Returns:

  • (Object, nil)

    The username used to authenticate with



14
# File 'lib/ansible/ruby/modules/generated/core/database/postgresql/postgresql_db.rb', line 14

attribute :login_user

#nameString

Returns name of the database to add or remove.

Returns:

  • (String)

    name of the database to add or remove



10
# File 'lib/ansible/ruby/modules/generated/core/database/postgresql/postgresql_db.rb', line 10

attribute :name

#ownerObject?

Returns Name of the role to set as owner of the database.

Returns:

  • (Object, nil)

    Name of the role to set as owner of the database



27
# File 'lib/ansible/ruby/modules/generated/core/database/postgresql/postgresql_db.rb', line 27

attribute :owner

#portInteger?

Returns Database port to connect to.

Returns:

  • (Integer, nil)

    Database port to connect to.



30
# File 'lib/ansible/ruby/modules/generated/core/database/postgresql/postgresql_db.rb', line 30

attribute :port

#state:present, ...

Returns The database state.

Returns:

  • (:present, :absent, nil)

    The database state



50
# File 'lib/ansible/ruby/modules/generated/core/database/postgresql/postgresql_db.rb', line 50

attribute :state

#templateString?

Returns Template used to create the database.

Returns:

  • (String, nil)

    Template used to create the database



34
# File 'lib/ansible/ruby/modules/generated/core/database/postgresql/postgresql_db.rb', line 34

attribute :template