Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jocelyndelalande/ansible-roles
MIRROR ONLY − Personal ansible roles
https://github.com/jocelyndelalande/ansible-roles
ansible ansible-roles self-hosting
Last synced: about 23 hours ago
JSON representation
MIRROR ONLY − Personal ansible roles
- Host: GitHub
- URL: https://github.com/jocelyndelalande/ansible-roles
- Owner: JocelynDelalande
- Created: 2015-02-19T18:36:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-12-06T23:46:28.000Z (almost 6 years ago)
- Last Synced: 2023-03-11T14:37:29.125Z (over 1 year ago)
- Topics: ansible, ansible-roles, self-hosting
- Language: Shell
- Homepage: https://code.crapouillou.net/jocelyn/ansible-roles
- Size: 305 KB
- Stars: 3
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Ansible Roles
=============These are my personal ansible roles. I share with joy, and comments are welcome,
but I don't intend to make them generic nor perfect for everybody use. They suit
my needs.Oh, and they all are using Debian systems.
They are licensed under the [WTFPL](http://www.wtfpl.net/txt/copying/), except
when another is mentioned inside a role folder (these are external roles I
reuse).Layout
------The layout is quite standard, I do not provide defaults for everything but I try
to provide a README.md for each, it contains an example `site.yml` sample.I use a single folder containing two git repos :
ansible_
├── roles (that git repo)
└── site (a private git repo)
├── ansible.cfg
├── hosts
├── site.yml
└── vault.yml- a flat hosts file, containing just the hostnames
- a single site.yml
- my ansible.cfg :[defaults]
roles_path = ../roles
hostfile = hostsExternal roles
--------------I may use external 3rdparty roles, from [ansible galaxy](https://galaxy.ansible.com/), they are not versioned here, but rather listed in *galaxy-roles*. To download them, just run :
ansible-galaxy install -p . -r galaxy-roles
You may need to remove the roles folder so that they upgrade if you already have them in an old version (weird behaviour from ansible-galaxy).