AAbouZaid.yourls

Yourls Ansible Role

Build Status GPL v2 licensed Galaxy Role

This is an Ansible role that helps you install Yourls, which stands for "Your Own URL Shortener." It's a web application built with PHP.

Requirements

This role doesn't require anything extra by itself, but Yourls needs PHP and MySQL to work.

Role Variables

Since we are using nested variables, it's better to set hash_behaviour = merge or use the environment variable ANSIBLE_HASH_BEHAVIOUR=merge when running Ansible.

Example Playbook

You need to define some variables like the site URL, database info, and users. You can choose a specific version of Yourls, or it will install the latest version by default.

yourls:
  version: latest
  path: /var/html/yourls
  owner: root
  group: root
  db:
    name: yourls
    user: yourls_db_username
    pass: yourls_db_password
    host: localhost
    prefix: yourls_
  users:
    user01: user01_password
  conf:
    site: http://your-own-domain-here.com

License

This project is licensed under the GNU GPL v2.

Author Information

Created by Ahmed AbouZaid.

Informazioni sul progetto

Manage Yourls, a URL shortener web app.

Installa
ansible-galaxy install AAbouZaid.yourls
Licenza
Unknown
Download
65
Proprietario
Tech Lead with Agility | M.Sc. in Data | Cloud-Native at Core | DevOps Transformation Advisor and Mentor | I enjoy helping businesses and individuals!