Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aabouzaid/ansible-role-yourls
Ansible role to install Yourls, a URL shortener web app.
https://github.com/aabouzaid/ansible-role-yourls
ansible ansible-role yourls
Last synced: 7 days ago
JSON representation
Ansible role to install Yourls, a URL shortener web app.
- Host: GitHub
- URL: https://github.com/aabouzaid/ansible-role-yourls
- Owner: aabouzaid
- Created: 2018-01-15T22:48:07.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-09T22:32:14.000Z (over 1 year ago)
- Last Synced: 2024-12-11T10:41:02.602Z (2 months ago)
- Topics: ansible, ansible-role, yourls
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Yourls Ansible Role
===================[![Build Status][travis-badge]][travis-link]
[![GPL v2 licensed][license-badge]][license-link]
[![Galaxy Role][role-badge]][galaxy-link]Ansible role to install Yourls (Your Own URL Shortener, PHP web app).
Requirements
------------This role has no requirements by itself, but Yourls needs PHP and MySQL.
Role Variables
--------------Since nested variables are used here, so to avoid defining the while vars,
it's recommended to set `hash_behaviour = merge` or pass env var `ANSIBLE_HASH_BEHAVIOUR=merge`
at Ansible execution.Example Playbook
----------------There are some variables that you need to set like site URL, DB info, users ... etc.
A specific Yourls version could be selected, if not, it will get latest Yourls version.```
yourls:
version: latest
path: /var/html/yourls
owner: root
group: root
db:
name: yourls
user: yourls_db_password
pass: yourls_db_username
host: localhost
prefix: yourls_
users:
user01: user01_password
conf:
site: http://your-own-domain-here.com
```License
-------GNU GPL v2
Author Information
------------------[Ahmed AbouZaid](http://tech.aabouzaid.com/).
[license-badge]: https://img.shields.io/badge/License-GPL%20v2-blue.svg
[license-link]: https://www.gnu.org/licenses/gpl-2.0.txt
[role-badge]: https://img.shields.io/ansible/role/23300.svg
[galaxy-link]: https://galaxy.ansible.com/AAbouZaid/yourls/
[travis-badge]: https://api.travis-ci.org/AAbouZaid/ansible-role-yourls.svg?branch=master
[travis-link]: https://travis-ci.org/AAbouZaid/ansible-role-yourls