Class: Ansible::Ruby::Modules::Postgresql_lang

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

Instance Method Summary collapse

Methods inherited from Base

#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

#cascadeBoolean?

Returns when dropping a language, also delete object that depend on this language.,only used when C(state=absent).

Returns:

  • (Boolean, nil)

    when dropping a language, also delete object that depend on this language.,only used when C(state=absent).



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

attribute :cascade

#dbString?

Returns name of database where the language will be added, removed or changed.

Returns:

  • (String, nil)

    name of database where the language will be added, removed or changed



18
# File 'lib/ansible/ruby/modules/generated/extras/database/postgresql/postgresql_lang.rb', line 18

attribute :db

#fail_on_drop:yes, ...

Returns if C(yes), fail when removing a language. Otherwise just log and continue,in some cases, it is not possible to remove a language (used by the db-system). When dependencies block the removal, consider using C(cascade).

Returns:

  • (:yes, :no, nil)

    if C(yes), fail when removing a language. Otherwise just log and continue,in some cases, it is not possible to remove a language (used by the db-system). When dependencies block the removal, consider using C(cascade).



26
# File 'lib/ansible/ruby/modules/generated/extras/database/postgresql/postgresql_lang.rb', line 26

attribute :fail_on_drop

#force_trustBoolean?

Returns marks the language as trusted, even if it’s marked as untrusted in pg_pltemplate.,use with care!.

Returns:

  • (Boolean, nil)

    marks the language as trusted, even if it’s marked as untrusted in pg_pltemplate.,use with care!



22
# File 'lib/ansible/ruby/modules/generated/extras/database/postgresql/postgresql_lang.rb', line 22

attribute :force_trust

#langString

Returns name of the procedural language to add, remove or change.

Returns:

  • (String)

    name of the procedural language to add, remove or change



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

attribute :lang

#login_hostString?

Returns Host running PostgreSQL where you want to execute the actions.

Returns:

  • (String, nil)

    Host running PostgreSQL where you want to execute the actions.



45
# File 'lib/ansible/ruby/modules/generated/extras/database/postgresql/postgresql_lang.rb', line 45

attribute :login_host

#login_passwordObject?

Returns Password used to authenticate with PostgreSQL (must match C(login_user)).

Returns:

  • (Object, nil)

    Password used to authenticate with PostgreSQL (must match C(login_user))



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

attribute :login_password

#login_userString?

Returns User used to authenticate with PostgreSQL.

Returns:

  • (String, nil)

    User used to authenticate with PostgreSQL



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

attribute :login_user

#portInteger?

Returns Database port to connect to.

Returns:

  • (Integer, nil)

    Database port to connect to.



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

attribute :port

#state:present, ...

Returns The state of the language for the selected database.

Returns:

  • (:present, :absent, nil)

    The state of the language for the selected database



49
# File 'lib/ansible/ruby/modules/generated/extras/database/postgresql/postgresql_lang.rb', line 49

attribute :state

#trustBoolean?

Returns make this language trusted for the selected db.

Returns:

  • (Boolean, nil)

    make this language trusted for the selected db



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

attribute :trust