ansible / ansible.builtin / v2.9.24 / 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.9.24) — module
pip
Install with pip install ansible==2.9.24
Add or remove applications on a Webfaction host. Further documentation at U(https://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 U(https://docs.webfaction.com/xmlrpc-api/apps.html) for a list. required: true state: choices: - present - absent default: present description: - Whether the application should exist machine: description: - The machine name to use (optional for accounts with only one machine) autostart: default: 'no' description: - Whether the app should restart with an C(autostart.cgi) script type: bool port_open: default: 'no' description: - IF the port should be opened type: bool extra_info: default: '' description: - Any extra parameters required by the app login_name: description: - The webfaction account to use required: true login_password: description: - The webfaction password to use required: true