lufi/.provision/ansible-role-lufi
Luc Didry d5bdf0b434
🧹 — A bit of cleaning in URLs, email addresses and README
2023-12-27 08:24:17 +01:00
..
defaults Add Iac and ConfigManagement 2022-03-25 12:44:18 +05:30
files Add Iac and ConfigManagement 2022-03-25 12:44:18 +05:30
handlers Add Iac and ConfigManagement 2022-03-25 12:44:18 +05:30
tasks Applied ansible styling best practices and Terraform data sorces 2022-03-31 21:09:12 +05:30
templates 🧹 — A bit of cleaning in URLs, email addresses and README 2023-12-27 08:24:17 +01:00
vars Applied ansible styling best practices and Terraform data sorces 2022-03-31 21:09:12 +05:30
README.md Applied ansible styling best practices and Terraform data sorces 2022-03-31 21:09:12 +05:30

README.md

Ansible-Role-Lufi

This role installs the and configures Lufi on Debian/Ubuntu servers with nginx web server configuration.

Role Variables

Variable name Value Description
app_dir /var/www/lufi Set the application directory for the best practice
lufi_owner www-data Set the application user for the best practice
lufi_group www-data Set the application group for the best practice
_contact contact.example.com Contact option (mandatory), where you have to put some way for the users to contact you.
_report report@example.com report option (mandatory) Put an email address or an URL to let people report illegal files
_project_version master We can chose the project version either Master branch, Dev branch or tag based
_server_name IP address (or) CNAME/FQDN Mention the Server Name for the Nginx configurations

Sample example of use in a playbook

The following code has been tested with Ubuntu 20.04

 
- name: "install lufi"
  hosts: enter your hosts file
  become: yes
  role:
    - ansible-role-lufi
  vars:
    lufi_owner: "www-data"
    lufi_group: "www-data"
    contact: "contact.example.com"
    report: "report@example.com"
    app_dir: "/var/www/lufi"
    project_version: "master"
    servername: "IP address (or) CNAME/FQDN"

Contributing

Dont hesitate to create a pull request