Class: Ansible::Ruby::Modules::Webfaction_app

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

Overview

Add or remove applications on a Webfaction host. Further documentation at U(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

#autostart:yes, ...

Returns Whether the app should restart with an C(autostart.cgi) script.

Returns:

  • (:yes, :no, nil)

    Whether the app should restart with an C(autostart.cgi) script



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

attribute :autostart

#extra_infoString?

Returns Any extra parameters required by the app.

Returns:

  • (String, nil)

    Any extra parameters required by the app



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

attribute :extra_info

#login_nameString

Returns The webfaction account to use.

Returns:

  • (String)

    The webfaction account to use



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

attribute :login_name

#login_passwordString

Returns The webfaction password to use.

Returns:

  • (String)

    The webfaction password to use



40
# File 'lib/ansible/ruby/modules/generated/cloud/webfaction/webfaction_app.rb', line 40

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)



44
# File 'lib/ansible/ruby/modules/generated/cloud/webfaction/webfaction_app.rb', line 44

attribute :machine

#nameString

Returns The name of the application.

Returns:

  • (String)

    The name of the application



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

attribute :name

#port_open:yes, ...

Returns IF the port should be opened.

Returns:

  • (:yes, :no, nil)

    IF the port should be opened



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

attribute :port_open

#state:present, ...

Returns Whether the application should exist.

Returns:

  • (:present, :absent, nil)

    Whether the application should exist



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

attribute :state

#typeString

Returns The type of application to create. See the Webfaction docs at U(docs.webfaction.com/xmlrpc-api/apps.html) for a list.

Returns:



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

attribute :type