Installs Jekyll https://jekyllrb.com/
Transform your plain text into static websites and blogs.
Install Jekyll role
sudo ansible-galaxy install -r requirements.yml -f
Spin up Environment under Vagrant to test.
vagrant up
Spin up Docker container for testing (With NGINX)
docker run -d -p 80:80 -p 4000:4000 mrlesmithjr/jekyll
In order to just test out Jekyll you can do the following either in Docker container or Vagrant Box.
cd ~
jekyll new test-site
cd test-site
jekyll build
sudo cp -R _site/* /usr/share/nginx/html
Using your browser:
---
# defaults file for ansible-jekyll
jekyll_importers: #define specific gems required to be installed for the specific importer type
- name: wordpress
gems:
- unidecode
- sequel
- mysql2
- htmlentities
ansible-nginx (Installed as part of requirements.yml)
- hosts: servers
roles:
- role: mrlesmithjr.jekyll
- hosts: servers
roles:
- role: ansible-jekyll
BSD
Larry Smith Jr.
- @mrlesmithjr
- http://everythingshouldbevirtual.com
- mrlesmithjr [at] gmail.com