Deprecated

Removed in 9.0.0

i

Reason:the endpoints this module relies on do not exist any more and do not resolve to IPs in DNS. | Alternative:no known alternative at this point

community.general.webfaction_app (8.5.0) — module

Add or remove applications on a Webfaction host

Authors: Quentin Stafford-Fraser (@quentinsf)

Install collection

Install with ansible-galaxy collection install community.general:==8.5.0


Add to requirements.yml

  collections:
    - name: community.general
      version: 8.5.0

Description

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

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Create a test app
    community.general.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: str

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

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Whether the application should exist
    type: str

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

autostart:
    default: false
    description:
    - Whether the app should restart with an C(autostart.cgi) script
    type: bool

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

extra_info:
    default: ''
    description:
    - Any extra parameters required by the app
    type: str

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

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