GithubHelp home page GithubHelp logo

dharmireddy / foremansible Goto Github PK

View Code? Open in Web Editor NEW

This project forked from capyroto/foremansible

0.0 1.0 0.0 38 KB

A sensible Ansible playbook to deploy Foreman (theforeman.org)

Home Page: https://capyroto.github.io/foremansible/

License: GNU General Public License v3.0

foremansible's Introduction

foremansible

A sensible Ansible playbook to deploy Foreman (theforeman.org)

Preparation

  • Clone the repository with the command below:
$ git clone https://github.com/capyroto/foremansible.git
$ cd foremansible

To be able to run this task, make sure to add your SSH pubkey as root user. Note that is expected a pre-existing ssh key pairs to be automatically copied to the server.

Create an inventory file with the contents below:

$ cd ansible
$ vim inventory
[foreman_servers]
192.168.0.1

Note: On Debian systems, by default the root user is not allowed to connect remotely.

$ echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
$ /etc/init.d/ssh restart

Then execute the pre-requisites:

$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@<SERVER>
$ ansible-playbook -u root --tags="prereq_as_root" main.yml

foremansible's People

Contributors

tchellomello avatar phess avatar waldirio 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.