Giter Club home page Giter Club logo

ansible-apache2-passenger's Introduction

Ansible deployment for Apache2

0. Current Stats

Build Status

Name Description
Version 0.1
Updated 03.22.2015
Ansible Version 1.8.4
Author Johnny Martin
Website http://configure.systems/
License MIT

1. QuickStart

git clone https://github.com/configuresystems/ansible-apache2-passenger.git roles/ansible-apache2-passenger
# Create a playbook file to use, there's a sample one in tests/test.yml
# Create a group_vars or update the default values in defaults/main.yml
ansible-playbook -i path/to/inventory ansible-playbook.yml

Table of contents

2. Overview

An Ansible playbook to automate the installation of Apache2. It can generate self-signed SSL certificates, along with including support for Passenger.

3. Requirements

Ansible installed on the local machine.

3.1 Ubuntu

pip install ansible

3.2 Compile from Source

git clone git://github.com/ansible/ansible.git --recursive
cd ./ansible
source ./hacking/env-setup

4. Usage

  1. git clone http://github.com/configuresystems/ansible-apache2-passenger
  2. Create a vars file in your group_vars, host_vars, set vars in the Playbook, or update the 'defaults/main.yml' file
  3. run the Ansible playbook, the fastest way is:
ansible-playbook ansible-apache2-passenger.yml

4.1 Playbook Arguments

  • port: Port that the virtualhost utilizes
  • server_name: Domain name you wish the virtualhost to use
  • server_alias: Alias the virtualhost will use
  • document_root: Base directory where site files will reside
  • document_owner: Owner of the document root
  • document_group: Group of the document root
  • ssl_crt: If using SSL, where to put the CRT file
  • ssl_key: If using SSL, where to put the KEY file
  • ssl_ca_chain: If using SSL, where to put the CA.CRT file
  • SSL: Boolean.
  • SELF_SIGNED: Boolean.
  • PASSENGER: Boolean.

5. After install

Assuming DNS is point to the server for the {{ server_name }}; Visit the apache2 server via the browser by going to:

http://{{ server_name }}

Finish up the install process by adding the database info and product key probvided by Atlassian.

6. Apache2 Control

6.1 Stop

service apache2 stop

6.2 Start

service apache2 start

6.3 Restart

service apache2 restart

ansible-apache2-passenger's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.