Repository URL to install this package:
|
Version:
1.0.0b1 ▾
|
doc:
short_help: Install the mailtrain service.
help: |
Install the mailtrain service.
**NOTE**: This is work in progress, it'll probably not work.
args:
version:
doc:
short_help: The version of mailtrain.
type: string
required: false
frecklets:
- user-exists:
name: mailtrain
group: mailtrain
- asdf-pkg-mgr-plugin:
plugin: nodejs
user: mailtrain
versions:
- 11.2.0
- git-repo-synced:
dest: /opt/mailtrain
repo: https://github.com/Mailtrain-org/mailtrain.git
become: true
owner: mailtrain
group: mailtrain
version: '{{:: version ::}}'
- task:
become: true
become_user: mailtrain
frecklet:
type: ansible-module
name: shell
msg: installing mailtrain
vars:
free_form: bash -c ". ~/.asdf/asdf.sh && npm install --production"
chdir: /opt/mailtrain
# - mariadb-database-exists:
## db_import: "{{:: wp_db_import ::}}"
## db_dump_file: "{{:: wp_db_dump_file | default(omit) ::}}"
# db_name: "mailtrain"
# db_user: "mailtrain"
# db_user_password: "mailtrain"
## - pkgs:
## pkg_mgrs: false
## packages:
## - pkg_mgr: npm
### executable: /home/mailtrain/.asdf/shims/npm
## path: /opt/mailtrain
## production: true
## become: true
## become_user: mailtrain
meta: {}