Giter VIP home page Giter VIP logo

ansible-private-sample's Introduction

ansible-private

The ansible-private repo is a repo to be used alongside the ansible-playbooks repo.

Since this repo is intended to be private, you unfortunately are not able to simply fork this repo as Github doesn't allow making forked repositories private for security reasons. The following steps can be used to move this repo to your own Github.

  1. Create a new private repo on your Github called ansible-private. Do not initialize the repo with anything such as a README, .gitignore, or License.
  2. Clone this repo with:
(ssh)   git clone [email protected]:SkynetLabs/ansible-private-sample.git ansible-private
(https) git clone https://github.com/SkynetLabs/ansible-private-sample.git ansible-private
  1. cd into the repo
cd ansible-private
  1. Reset the git origin and push to your repo by running
./rename.sh <your github username>

After running the rename script you will have the following remotes:

$ git remote -vv
origin	[email protected]:<your Github username>/ansible-private.git (fetch)
origin	[email protected]:<your Github username>/ansible-private.git (push)
skynet	[email protected]:SkynetLabs/ansible-private-sample.git (fetch)
skynet	[email protected]:SkynetLabs/ansible-private-sample.git (push)

NOTE
Once you update the repository your git history will diverge this repo. In order to pull updates you will need to run the following git pull command:

git pull skynet main --allow-unrelated-histories

When using ansible, your version of this repo should live on the same directory level as the ansible-playbooks repo.

parentdir/
   ansible-private/
   ansible-playbooks/

Using this repo

The main use of this repo is keeping an updated hosts.ini file which defines servers, groups, and variables for the ansible-playbooks to work off of.

The secondary use of this repo is defining private variables in .yml files in the private-vars/ directory.

ansible-private-sample's People

Contributors

firyx avatar kwypchlo avatar msevey avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

marcus-arcadius

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.