Git Product home page Git Product logo

devops-360-hello-world's Introduction

DevOps 360° Hello-World

DevOps 360° Hello-World is the first playbook introduction to automation with Ansible. For more details about the project, please check: http://slides.com/floriandambrine/devops360

0. Setup the Ansible controller

sudo yum install python-pip python-devel gcc git
sudo pip install -U pip
pip install ansible==2.4.3.0

1. Write the hello-world automation

You should:

  • Create an inventory file to interract with ubuntu VMs
  • Use a role named hello-world
  • Use a playbook named hello-world.yml
  • Install nginx and configure a server block in /etc/nginx/sites-available/hello-world (This resource can be useful: How To Set Up nginx Virtual Hosts )
  • root should be set to /opt/hello-world
  • Deploy an index.html file in /opt/hello-world from a template that says:
Hello <hello_world_msg>!
  • hello_world_msg should default to World
  • Adjust the group_vars, host_vars so that ubuntu1 ubuntu2 and ubuntu3 VMs display a different message.

devops-360-hello-world's People

Contributors

lowess avatar

Stargazers

 avatar  avatar  avatar  avatar

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.