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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/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, #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



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

attribute :login_name

#login_passwordString

Returns The webfaction password to use.

Returns:

  • (String)

    The webfaction password to use



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

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)



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

attribute :machine

#nameString

Returns The name of the database.

Returns:

  • (String)

    The name of the database



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

attribute :name

#passwordString?

Returns The password for the new database user.

Returns:

  • (String, nil)

    The password for the new database user.



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

attribute :password

#state:present, ...

Returns Whether the database should exist.

Returns:

  • (:present, :absent, nil)

    Whether the database should exist



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

attribute :state

#type:mysql, :postgresql

Returns The type of database to create.

Returns:

  • (:mysql, :postgresql)

    The type of database to create.



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

attribute :type