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

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



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

attribute :host

#https:yes, ...

Returns Whether or not to use HTTPS.

Returns:

  • (:yes, :no, nil)

    Whether or not to use HTTPS



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

attribute :https

#login_nameString

Returns The webfaction account to use.

Returns:

  • (String)

    The webfaction account to use



34
# File 'lib/ansible/ruby/modules/generated/cloud/webfaction/webfaction_site.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/cloud/webfaction/webfaction_site.rb', line 38

attribute :login_password

#nameString

Returns The name of the website.

Returns:

  • (String)

    The name of the website



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

attribute :name

#site_appsObject?

Returns A mapping of URLs to apps.

Returns:

  • (Object, nil)

    A mapping of URLs to apps



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

attribute :site_apps

#state:present, ...

Returns Whether the website should exist.

Returns:

  • (:present, :absent, nil)

    Whether the website should exist



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

attribute :state

#subdomainsObject?

Returns A list of subdomains associated with this site.

Returns:

  • (Object, nil)

    A list of subdomains associated with this site.



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

attribute :subdomains