Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/perlun/ansible-roles
Ansible roles
https://github.com/perlun/ansible-roles
Last synced: 26 days ago
JSON representation
Ansible roles
- Host: GitHub
- URL: https://github.com/perlun/ansible-roles
- Owner: perlun
- License: mit
- Created: 2021-06-01T20:55:56.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-25T17:58:56.000Z (3 months ago)
- Last Synced: 2024-11-04T14:51:17.545Z (2 months ago)
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-roles
This is a collection of Ansible roles I use to maintain my personal Linux servers.
Some of the roles were originally written as part of my day-job at [Hibox Systems](https://github.com/hiboxsystems), but I received permission to use and share them in this manner. Others are written from scratch for my personal needs.
These roles are deliberately not deployed to [Ansible Galaxy](https://galaxy.ansible.com/). They would probably need a bit more work to be "good enough" to be shared on that platform. Instead, they are distributed in this repo in a more "copy-paste" oriented fashion. Use them for inspiration when writing your own roles, use them as-is or do whatever you want with it.
Pull requests to fix obvious minor issues are welcome, but it's unlikely that any major changes will be accepted. It's probably better that you make a personal fork and maintain your changes there instead in that case.
## Roles
- [admin-user](roles/admin-user) - creates an admin user account with `~/.ssh/authorized_keys` authentication and passwordless sudo
- [awstats](roles/awstats) - installs and configures the [AWStats](https://awstats.sourceforge.io/) web server log analyzer
- [bind](roles/bind) - installs and configures the `bind9` DNS server as well as one or more zone files.
- [nginx](roles/nginx) - installs and configures the [nginx](https://nginx.org/) web server
- [prometheus](roles/prometheus) - installs and configures the [Prometheus](https://prometheus.io/) monitoring system & time series database## Playbooks
The following playbooks executes the above roles:
- [admin-user](admin-user.yaml)
- [awstats](awstats.yaml)
- [bind.yaml](bind.yaml)
- [nginx.yaml](nginx.yaml)
- [prometheus.yaml](prometheus.yaml)## Ansible config
The [ansible.cfg.example](ansible.cfg.example) serves as an example of what your Ansible config can look like. `cp ansible.cfg.example ansible.cfg`, and Ansible will pick up the config automatically when running these roles.
## License
[MIT](LICENSE)