Skip to content

An example Ansible configuration to use with my Ansible Playbook Skeleton script.

License

Notifications You must be signed in to change notification settings

BennyLi/ansible-config-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Config Example

An example Ansible configuration to use with my Ansible Playbook Skeleton scripts.

How this works 🎓

This repo is meant to be used in conjunction with my scripts provided in my Ansible Playbook Skeleton repository. For a production ready setup you should create your own config repo by forking this repo and then modifing the files to your needs. If you don't know what to do with the files in this repo, you should definitely take a look into the official Ansible documentation for like Build Your Inventory and Intro To Playbooks first.

Vaults 🔐

For sensible data, I use the Ansible Vault. To work with this data in a fluent way, I seperate my vault entries in an extra file and then reference the variables in my variables file.

In this repository you will find two vault.yml files, which are encrypted. For example take a look into the group_vars/servers directory.

To see or edit them, use the ansible-vault tool and the password password (for your vault, you should use a better password 🤷) like this:

ansible-vault edit group_vars/servers/vault.yml

About

An example Ansible configuration to use with my Ansible Playbook Skeleton script.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published