Invoiceninja

Invoiceninja is invoicing software for small businesses.

Preparation

Set up mysql root, database user, email passwords etc and Invoiceninja app key in your host_vars/YOURSERVER/main.yml

I’d also recommend restricting access by defining allowed IP addresses in host_vars. Invoiceninja includes some financial information and on first launch a default username and password combination is used.

Installation

Run the role.

ansible-playbook --ask-vault-pass --limit YOURSERVER play/app/invoiceninja.yml

You should eventually be able to reach Invoiceninja at https://invoiceninja.YOUR-FQDN but it may take over a minute to become available after the Ansible role completes (you’ll get a 502 bad gateway error until it’s ready).

Set up the admin account – do this as soon as possible!

The default email and password are admin@example.com and changeme!, log in and change these

Enable Invoiceninja on Momod Dashboard

This is optional, if you want the Invoiceninja link to work on Momod Dashboard set the app_invoiceninja variable in your host_vars to “enabled”:

app_invoiceninja: "enabled"

And run the homer play:

ansible-playbook --limit YOURSERVER play/app/homer.yml