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

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

Overview

Adds, removes or changes procedural languages with a PostgreSQL database. This module allows you to add a language, remote a language or change the trust relationship with a PostgreSQL database. The module can be used on the machine where executed or on a remote host. When removing a language from a database, it is possible that dependencies prevent the database from being removed. In that case, you can specify casade to automatically drop objects that depend on the language (such as functions in the language). In case the language can’t be deleted because it is required by the database system, you can specify fail_on_drop=no to ignore the error. Be carefull when marking a language as trusted since this could be a potential security breach. Untrusted languages allow only users with the PostgreSQL superuser privilege to use this language to create new functions.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#cascade:yes, ...



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

attribute :cascade

#dbString?



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

attribute :db

#fail_on_drop:yes, ...



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

attribute :fail_on_drop

#force_trust:yes, ...



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

attribute :force_trust

#langString



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

attribute :lang

#login_hostString?



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

attribute :login_host

#login_passwordObject?



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

attribute :login_password

#login_userString?



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

attribute :login_user

#portInteger?



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

attribute :port

#state:present, ...



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

attribute :state

#trust:yes, ...



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

attribute :trust