ansible / ansible.builtin / v2.3.0.0-1 / module / webfaction_app Add or remove applications on a Webfaction host | "added in version" 2.0 of ansible.builtin" Authors: Quentin Stafford-Fraser (@quentinsf) preview | supported by communityansible.builtin.webfaction_app (v2.3.0.0-1) — module
pip
Install with pip install ansible==2.3.0.0.post1
Add or remove applications on a Webfaction host. Further documentation at http://github.com/quentinsf/ansible-webfaction.
- 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}}
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