Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

Simple shell-script to create skeleton of ansible playbook

Notifications You must be signed in to change notification settings

sergkondr-ansible/playbook-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

[deprecated]playbook-gen

Please, use cookiecutter. It is more usefull and flexible.

Simple shell-script to create skeleton of ansible playbook

Installation

Add playbook-gen.sh to your $PATH

Example

$ playbook-gen.sh new_playbook
Playbook new_playbook has been created.
$ tree -a --dirsfirst new_playbook/
new_playbook/
├── group_vars
│   └── all.yml
├── host_vars
├── roles
│   └── requirements.yml
├── ansible.cfg
├── .gitignore
├── inventory
├── main.yml
├── README.md
└── .vault_pass

3 directories, 8 files
$ cat new_playbook/README.md 
new_playbook
========================

### Examples:
\```
# Install/update roles
ansible-galaxy -r roles/requirements.yml install --force

# Play roles
ansible-playbook main.yml
\```
$ cat new_playbook/.vault_pass 
OHduhGBJP16IFg//fRMTYg==

About

Simple shell-script to create skeleton of ansible playbook

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages