ansible-role-nmgfitness/README.md

1.2 KiB

Role Name

This role installs IM: https://gitea.caret.be/jens/im

Requirements

This role requires a database server to to be present where im can connect to

Role Variables

  • im_secret_key: optional Secret Key for Django app, defaults to random 56char string recreated on every run (This will invalidated current open sessions)
  • im_user: user running the app, defaults to 'im' (this user will be created)
  • im_home: path to install the im app in, defaults to /home/im (this path will be created)
  • im_domain: the domain this app will run on (Needed for django's ALLOWED_HOSTS), default localhost
  • im_db_name: database name, defaults to 'im'
  • im_db_user: database user, defaults to 'im'
  • im_db_password: database password (optional)
  • im_db_host: database server, defaults to 'localhost'
  • im_db_port: database port, defaults to 5432

Dependencies

None

Example Playbook

- name: "Install im pantry app"
  hosts: im
  roles:
      - ansible-role-im
  vars:
      - im_domain: "im.caret.be"

License

GPL-v3

Author Information

Jens (gitea.caret.be)