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

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

Overview

Add or remove applications 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

#autostartString?

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

Returns:

  • (String, nil)

    Whether the app should restart with an autostart.cgi script



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

attribute :autostart

#extra_infoObject?

Returns Any extra parameters required by the app.

Returns:

  • (Object, nil)

    Any extra parameters required by the app



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

attribute :extra_info

#login_nameString

Returns The webfaction account to use.

Returns:

  • (String)

    The webfaction account to use



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

attribute :login_name

#login_passwordString

Returns The webfaction password to use.

Returns:

  • (String)

    The webfaction password to use



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

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)



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

attribute :machine

#nameString

Returns The name of the application.

Returns:

  • (String)

    The name of the application



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

attribute :name

#port_openBoolean?

Returns IF the port should be opened.

Returns:

  • (Boolean, nil)

    IF the port should be opened



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

attribute :port_open

#state:present, ...

Returns Whether the application should exist.

Returns:

  • (:present, :absent, nil)

    Whether the application should exist



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

attribute :state

#typeString

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

Returns:



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

attribute :type