patrickheeney / ansible-nginx-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test

This playbook is to test debops.nginx http and https site detection.

Dependencies

  1. https://www.vagrantup.com/
  2. http://www.ansible.com/

Install

  1. mkdir test && git clone https://github.com/patrickheeney/ansible-nginx-test.git test && cd test
  2. git clone https://github.com/protobox/protobox.git vendor/protobox
  3. ansible-galaxy install -f -r requirements.yml -p vendor/roles
  4. vagrant up

Test

  1. ansible-playbook -i hosts playbooks/vagrant.yml
  2. ansible-playbook -i hosts playbooks/vagrant.yml -t sites
  3. ansible-playbook -i hosts playbooks/vagrant.yml -t nginx

About