anddimario / ansible-mucontent

Ansible playbook for mucontent init

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mucontent system initialization

working on ubuntu (tested on 16.04)

How-to

  • add your host/hosts in inventory as [mucontent]
  • on remote servers add your key for root user and install python (needs python2 for ansible)
  • for server configuration run: ansible-playbook mucontent.yaml
  • for vhost configuration run: ansible-playbook vhost.yaml
  • for ssl vhost configuration run: ansible-playbook sslvhost.yaml

Features

mucontent.yaml

  • check distro
  • install requirements
  • config nginx with some additional features
  • create the user
  • install pm2
  • clone repo and install deps
  • run app with pm2 and add app to startup

vhost.yaml

  • add template http

sslvhost.yaml

  • add template http
  • copy ssl key and certificate on host

Thanks

About

Ansible playbook for mucontent init


Languages

Language:Smarty 100.0%