Code Monkey home page Code Monkey logo

apache's Introduction

apache

This role installs and configures Apache

Build Status

Requirements

No requirements.

Role Variables

Playbook Variables

  • apache_vhost_create_default: True
  • apache_vhost_create_docroots: True

Apache Directives

  • apache:

  • accessfilename: .htaccess

  • keepalive_enabled: "Off"

  • keepalive_max_requests: 100

  • keepalive_timeout: 15

  • listen_port: 80

  • listen_port_ssl: 443

  • mpm_maxconnectionsperchild: 0 # >= 2.3.9

  • mpm_maxrequestworkers: 0

  • mpm_prefork_startservers: 8

  • mpm_prefork_minspareservers: 5

  • mpm_prefork_maxspareservers: 20

  • mpm_prefork_serverlimit: 256

  • mpm_prefork_maxclients: 256

  • mpm_prefork_maxrequestsperchild: 4000

  • mpm_worker_startservers: 4

  • mpm_worker_maxclients: 300

  • mpm_worker_minsparethreads: 25

  • mpm_worker_maxsparethreads: 75

  • mpm_worker_maxrequestsperchild: 0

  • mpm_worker_threadsperchild: 25

  • mpm_worker_serverlimit: 256

  • timeout: 60

  • apache_vhosts: List of virtual hosts.

Example Apache Vhost

apache_vhosts:
  - servername: "example.com"
    serveralias:
      - "www.example.com"
    documentroot: "/var/www/html/vhosts/example.com"
    directoryindex: "index.php"
    serveradmin: "[email protected]"
    extra_parameters: "Directive values"
  - servername: ...

Dependencies

There are no external dependencies.

Example Playbook

Here is a simple example playbook:

---
- hosts: all
  roles:
    - { role: Rackspace_Automation.apache, x: 42 }

License

BSD

Author Information

Rackspace - the open cloud company

Ask about our DevOps Automation Service - www.rackspace.com/devops

apache's People

Contributors

linuturk avatar

Watchers

Ruud Burger avatar Jason Yergeau avatar Sjoerd Siebinga avatar Robbert avatar Anne Jan Brouwer avatar James Cloos avatar realitygaps avatar Jacob Lundqvist 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.