Skip to content

anddimario/ansible-mucontent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages