Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
tmp
 
 
 
 
 
 
 
 

Ansible Donate

Ansible skeleton for new projects

Table of Contents

Documentation

Requirements

  • ansible >=2

Structure

.
├── ansible.cfg       ## Ansible base configuration
├── group_vars        ## Group variables
├── host_vars         ## Host variables
├── inventories       ## Inventory files
│   └── default       ## Default inventory file
├── playbooks         ## Playbooks
│   └── init.yml      ## Example playbook
├── requirements.yml  ## Role dependensies from ansible-galaxy
├── roles             ## Your own roles
├── galaxy            ## Galaxy roles
└── tmp               ## Temporary files, like cached facts, logs, etc.
    ├── ansible.log   ## Main log file
    ├── facts.d       ## Facts cache
    └── ssh-...-...   ## SSH session persist

Installation

  1. Clone this repo
  2. Download dependencies:
ansible-galaxy install -r requirements.yml

(SKELETON) installation

Special one-liner to fast skeleton setup

git clone -q https://github.com/rakshazi/ansible-skeleton.git ansible && cd ansible && rm -rf .git && git init -q && git add --all && git add -f tmp/.gitkeep && git commit -q -m "Init skeleton" && echo -e "\033[0;32m[ansible]\033[0m Skeleton successfuly initialized, you should add your own origin repo with following command: \033[01;37mgit remote add origin <your origin url>\033[0m"

About

Skeleton for new projects, to install - use "(SKELETON) Installation" script

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages