mylocaldevstack.snipeit

Ansible Role: Snipe-IT

This Ansible Role installs Snipe-IT on Debian/Ubuntu systems. It uses nginx and php-fpm 7.2 for the deployment.

TODO:

  • Enable installation of Snipe-IT on Apache2
  • Add support for using an external database server
  • Allow choice between MySQL and MariaDB

Requirements

This role is self-sufficient; it installs all the necessary components on the target system.

Role Variables

Here are the available variables with their default settings:

#if you want to remove all php, nginx, apache2 installations and configurations, set this to true
snipe_clean_env: false

snipe_install_dir: /opt/snipe-it
snipe_install_version: 4.6.13
snipe_domain: localhost
snipe_environment: production
snipe_debug_mode: false
snipe_http_server: nginx
snipe_php_version: 7.1

#default database settings
snipe_db_host: localhost
snipe_db_port: 3306
snipe_db_name: snipeit
snipe_db_user: root
snipe_db_pass: snipeit

snipe_smtp_host: localhost
snipe_smtp_port: 25
snipe_smtp_user: snipeit
snipe_smtp_pass: snipeit
snipe_smtp_encryption: tls
snipe_email_from: [email protected]

Example Playbook

    - hosts: snipeit
      roles:
         - role: mylocaldevstack.snipeit

To change the Snipe-IT version, you can do the following:

    - hosts: snipeit
      vars:
        snipe_install_version: 4.6.12
      roles:
         - role: mylocaldevstack.snipeit

License

Apache

Informazioni sul progetto

mylocaldevstack.pl

Installa
ansible-galaxy install mylocaldevstack.snipeit
Licenza
apache-2.0
Download
100
Proprietario