An open API service indexing awesome lists of open source software.

https://github.com/dortegau/prestashop-role

Ansible role to install PrestaShop
https://github.com/dortegau/prestashop-role

Last synced: 3 months ago
JSON representation

Ansible role to install PrestaShop

Awesome Lists containing this project

README

        

# Prestashop Ansible Role

This Ansible role installs PrestaShop in a Debian environment. Based on the instructions present in [PrestaShop documentation site](http://doc.prestashop.com/display/PS17/Installing+PrestaShop).

- [Getting Started](#getting-started)
- [Prerequisities](#prerequisities)
- [Installing](#installing)
- [Usage](#usage)
- [Testing](#testing)
- [Built With](#built-with)
- [Versioning](#versioning)
- [License](#license)

## Getting Started

These instructions will get you a copy of the role for your Ansible Playbook. Once launched, it will install [PrestaShop](https://www.prestashop.com) in a Debian system.

### Prerequisities

Ansible 2.2.1.0 version installed.
Inventory destination should be a Debian environment.

For testing purposes, [Molecule](https://molecule.readthedocs.io/) with [Vagrant](https://www.vagrantup.com/) as driver (with [landrush](https://github.com/vagrant-landrush/landrush) plugin) and [VirtualBox](https://www.virtualbox.org/) as provider.

### Installing

Create or add to your roles dependency file (e.g requirements.yml):

```
- src: http://github.com/dortegau/prestashop-role.git
scm: git
version: 1.0.0
name: prestashop
```

Install the role with ansible-galaxy command:

```
ansible-galaxy install -p roles -r requirements.yml -f
```

Use in a playbook:

```
---
- hosts: someserver
roles:
- { role: prestashop }
```

## Usage

Look to the [defaults](defaults/main.yml) properties file to see the possible configuration properties.

## Testing

Execute ``` molecule test ``` under prestashop-role folder to run the automated tests suite. These tests run under a preinstalled LEMP environment.

## Built With

![Ansible](https://img.shields.io/badge/ansible-2.2.1.0-green.svg)

## Versioning

For the versions available, see the [tags on this repository](https://github.com/dortegau/prestashop-role/tags).

## License

![Apache 2.0 Licence](https://img.shields.io/hexpm/l/plug.svg)

This project is licensed under the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) license - see the [LICENSE.txt](LICENSE.txt) file for details.