This Ansible role installs PrestaShop in a Debian environment. Based on the instructions present in PrestaShop documentation site.
These instructions will get you a copy of the role for your Ansible Playbook. Once launched, it will install PrestaShop in a Debian system.
Ansible 2.2.1.0 version installed. Inventory destination should be a Debian environment.
For testing purposes, Molecule with Vagrant as driver (with landrush plugin) and VirtualBox as provider.
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 }
Look to the defaults properties file to see the possible configuration properties.
Execute molecule test
under prestashop-role folder to run the automated tests suite. These tests run under a preinstalled LEMP environment.
For the versions available, see the tags on this repository.
This project is licensed under the Apache 2.0 license - see the LICENSE.txt file for details.