Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.37 KB

README.md

File metadata and controls

23 lines (15 loc) · 1.37 KB

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