GithubHelp home page GithubHelp logo

profemzy / ansibler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from r3ap3rpy/ansibler

0.0 1.0 0.0 27 KB

This repository consists of playbooks and ansbile related stuff.

Dockerfile 7.47% Python 92.53%

ansibler's Introduction

Welcome

This repository provides you with sample playbooks for all sorts of things.

The playbooks were tested to run agains ubuntu, debian, and centos systems.

The basic setup consists of an ansible user for each systems.

You need to do the following to allow key based ssh authentication.

ssh-keygen 

ssh-copy-id ansible@target

Make sure you copy the key to the host itself too.

Python is needed for ansible to work so you should have at least a version 2.* on each system against which you work.

If you use a centos based machine perform these tasks before you do anything.

yum update 

yum install python python-devel ansible openssl

Steps to perform on each host for key based authentication.

adduser ansible
passwd ansible

Use the visudo to add passwordless sudo to the user. Look for the line root and add the folowing below.

visudo

ansible ALL=(ALL) NOPASSWD: ALL

In order to install ansible-cmdb to generate reports do the following.

sudo su - 
pip install --upgrage pip
pip install ansible-cmdb

To generate the report from the facts do the following.

ansible -m setup --tree facts/ all
ansible-cmdb facts/ > overview.html

ansibler's People

Contributors

r3ap3rpy avatar

Watchers

James Cloos 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.