Class: Ansible::Ruby::Modules::Webfaction_site

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

Overview

Add or remove a website 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

#hostString

Returns The webfaction host on which the site should be created.

Returns:

  • (String)

    The webfaction host on which the site should be created.



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

attribute :host

#httpsBoolean?

Returns Whether or not to use HTTPS.

Returns:

  • (Boolean, nil)

    Whether or not to use HTTPS



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

attribute :https

#login_nameString

Returns The webfaction account to use.

Returns:

  • (String)

    The webfaction account to use



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

attribute :login_name

#login_passwordString

Returns The webfaction password to use.

Returns:

  • (String)

    The webfaction password to use



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

attribute :login_password

#nameString

Returns The name of the website.

Returns:

  • (String)

    The name of the website



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

attribute :name

#site_appsArray<Array>, ...

Returns A mapping of URLs to apps.

Returns:

  • (Array<Array>, Array, nil)

    A mapping of URLs to apps



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

attribute :site_apps

#state:present, ...

Returns Whether the website should exist.

Returns:

  • (:present, :absent, nil)

    Whether the website should exist



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

attribute :state

#subdomainsArray<String>, ...

Returns A list of subdomains associated with this site.

Returns:

  • (Array<String>, String, nil)

    A list of subdomains associated with this site.



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

attribute :subdomains