Skip to content
Skeleton for new projects, to install - use "(SKELETON) Installation" script
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
inventories
playbooks
plugins
roles
tmp
.gitignore
README.md
ansible.cfg
requirements.yml

README.md

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"
You can’t perform that action at this time.