Class: Ansible::Ruby::Modules::Webfaction_db

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/webfaction/webfaction_db.rb

Overview

Add or remove a database on a Webfaction host. Further documentation at github.com/quentinsf/ansible-webfaction.

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

#login_nameString

Returns The webfaction account to use.

Returns:

  • (String)

    The webfaction account to use



28
# File 'lib/ansible/ruby/modules/generated/cloud/webfaction/webfaction_db.rb', line 28

attribute :login_name

#login_passwordString

Returns The webfaction password to use.

Returns:

  • (String)

    The webfaction password to use



32
# File 'lib/ansible/ruby/modules/generated/cloud/webfaction/webfaction_db.rb', line 32

attribute :login_password

#machineString?

Returns The machine name to use (optional for accounts with only one machine).

Returns:

  • (String, nil)

    The machine name to use (optional for accounts with only one machine)



36
# File 'lib/ansible/ruby/modules/generated/cloud/webfaction/webfaction_db.rb', line 36

attribute :machine

#nameString

Returns The name of the database.

Returns:

  • (String)

    The name of the database



12
# File 'lib/ansible/ruby/modules/generated/cloud/webfaction/webfaction_db.rb', line 12

attribute :name

#passwordString?

Returns The password for the new database user.

Returns:

  • (String, nil)

    The password for the new database user.



24
# File 'lib/ansible/ruby/modules/generated/cloud/webfaction/webfaction_db.rb', line 24

attribute :password

#state:present, ...

Returns Whether the database should exist.

Returns:

  • (:present, :absent, nil)

    Whether the database should exist



16
# File 'lib/ansible/ruby/modules/generated/cloud/webfaction/webfaction_db.rb', line 16

attribute :state

#type:mysql, :postgresql

Returns The type of database to create.

Returns:

  • (:mysql, :postgresql)

    The type of database to create.



20
# File 'lib/ansible/ruby/modules/generated/cloud/webfaction/webfaction_db.rb', line 20

attribute :type