Coder Social home page Coder Social logo

ansible-tutorials's Introduction

devopstraining

Sample programs and examples for DevOps Training

https://www.becloudready.com/training

Ansible

Contains examples of Ansible playbooks

https://www.becloudready.com/forum/articles-1/training-ansible-devops-training

Ansible Instructions

Please use the instructions to setup environment at: https://www.becloudready.com/forum/articles-1/setup-ansible-environment-on-aws-ec2

lab-01

Just copy paste the instructions from lab-01 folder, it should work

lab-02

cd ansible/lab-02/
ansible-playbook java-nginx.yml

lab-03

cd ansible/lab-03/
ansible-playbook web-page.yml

lab-04

cd ansible/lab-04/
ansible-playbook deploy-web-content.yml

lab-05

cd ansible/lab-05/
ansible-playbook deploy-web-content.yml

lab-06 - Please don't push your AWS key on github

Lab to create instances on AWS.

sudo yum install python-pip -y
sudo pip install boto
cd ansible/lab-06/
ansible-playbook create_ec2_instance.yml

To Terminate the instance ( You will need the instance id either from AWS console, or output from the create playbook)

cd ansible/lab-06/
ansible-playbook terminate_ec2_instance.yml

Lab -07 - Please don't push your AWS key on github

Generate dynamic inventory and run playbooks

cd ansible/lab-07/
python dynamic_inventory.py <aws-access-key> <aws-access-secret-key>

Q&A

https://www.becloudready.com/forum/questions

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.