ansible.builtin.webfaction_app (v2.3.0.0-1) — module

Add or remove applications on a Webfaction host

| "added in version" 2.0 of ansible.builtin"

Authors: Quentin Stafford-Fraser (@quentinsf)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.3.0.0.post1

Description

Add or remove applications on a Webfaction host. Further documentation at http://github.com/quentinsf/ansible-webfaction.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Create a test app
    webfaction_app:
      name="my_wsgi_app1"
      state=present
      type=mod_wsgi35-python27
      login_name={{webfaction_user}}
      login_password={{webfaction_passwd}}
      machine={{webfaction_machine}}

Inputs

    
name:
    description:
    - The name of the application
    required: true

type:
    description:
    - The type of application to create. See the Webfaction docs at http://docs.webfaction.com/xmlrpc-api/apps.html
      for a list.
    required: true

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Whether the application should exist
    required: false

machine:
    description:
    - The machine name to use (optional for accounts with only one machine)
    required: false

autostart:
    default: 'no'
    description:
    - Whether the app should restart with an autostart.cgi script
    required: false

port_open:
    default: false
    description:
    - IF the port should be opened
    required: false

extra_info:
    default: null
    description:
    - Any extra parameters required by the app
    required: false

login_name:
    description:
    - The webfaction account to use
    required: true

login_password:
    description:
    - The webfaction password to use
    required: true