Skip to content
/ ansible-skeleton Public template

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

Notifications You must be signed in to change notification settings

rakshazi/ansible-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages