Code Monkey home page Code Monkey logo

ansible-webserver's Introduction

Ansible-Webserver

Outline

  • Build an Apache Web Server

  • Deploy the weberver with the ansbile user

  • Ansible user needs sudo

  • Connection type ssh rather than paramiko

  • Leave gathering of facts on

  • Info Needed:

    • apache web server package name
    • distribution running on
    • apache version
    • need the web server directory customized
    • what is the site name
  • What needs to be done

    • install the apache web server on the remote system(s)

    • create the wev server directory

    • web server directory has proper ownership

    • configuration of apache

      • copy the http configuration file
      • set up the vhost directory
      • add any ssl keys if needed
      • add the vhost template for the default site
    • copy the site code to the new directory

    • start the apache service

    • add/enable anyt modules needed

      • mysql/mariadb
      • ssl
      • mod/rewrite
    • restart the apache service (or move the start to here)

  • Test

    • using lynx or telnet, test that the wev service is running
      • waitfor port 80 to be listening
    • register output for the service status as JSON on the completion of the playbook

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.