Ansible Roles

Simple and compatible on many platforms.

Home Blog My manifesto About Uptime View on GitHub

Ansible Roles

These Ansible roles are simple in style and work well together on many distributions and many Ansible version.

Unit tests

A monthly test to see of the role still works on the current distributions. Some roles contain a version that requires frequent changes and tests. To better understand what distributions and their versions are tested, have a look at the relations page.

Role name GitHub Action GitLab CI Version Downloads
aide Ansible Molecule gitlab version downloads
alternatives github gitlab version downloads
anaconda github gitlab version downloads
ansible github pipeline status version downloads
ansible_lint github pipeline status version downloads
apache Ansible Molecule pipeline status version downloads
apt_autostart github pipeline status version downloads
apt_repository Ansible Molecule pipeline status version downloads
atom github gitlab version downloads
auditd github gitlab version downloads
autofs github gitlab version downloads
auto_update Ansible Molecule gitlab version downloads
azure_cli Ansible Molecule gitlab version downloads
backup github gitlab version downloads
bootstrap Ansible Molecule pipeline status version downloads
buildtools github gitlab version downloads
ca Ansible Molecule gitlab version downloads
cargo Ansible Molecule gitlab version downloads
ca_certificates github gitlab version downloads
centos_base Ansible Molecule gitlab version downloads
certbot github gitlab version downloads
collectd github gitlab version downloads
common Ansible Molecule gitlab version downloads
consul github gitlab version downloads
core_dependencies github gitlab version downloads
cron github gitlab version downloads
debug github gitlab version downloads
desktop github gitlab version downloads
diskspace github gitlab version downloads
dns github gitlab version downloads
dnsmasq github gitlab version downloads
docker github gitlab version downloads
docker_ce Ansible Molecule gitlab version downloads
dotfiles github gitlab version downloads
dsvpn github gitlab version downloads
earlyoom github pipeline status version downloads
eclipse github pipeline status version downloads
elasticsearch github pipeline status version downloads
elasticsearch_curator github pipeline status version downloads
elastic_repo github pipeline status version downloads
environment github pipeline status version downloads
epel github pipeline status version downloads
etherpad github gitlab version downloads
facts github gitlab version downloads
fail2ban github pipeline status version downloads
filesystem Ansible Molecule gitlab version downloads
firefox github gitlab version downloads
fish github gitlab version downloads
forensics github gitlab version downloads
git github gitlab version downloads
gitlab github gitlab version downloads
gitlab_ce github gitlab version downloads
gitlab_ee github gitlab version downloads
glusterfs github gitlab version downloads
gnome github gitlab version downloads
go github gitlab version downloads
haproxy github gitlab version downloads
hashicorp github gitlab version downloads
httpd github gitlab version downloads
hostname Ansible Molecule gitlab version downloads
icingaweb2 github gitlab version downloads
influxdb2 github gitlab version downloads
investigate github gitlab version downloads
irslackd github gitlab version downloads
java github gitlab version downloads
jenkins github gitlab version downloads
jitsi Ansible Molecule gitlab version downloads
keepalived github gitlab version downloads
kernel github gitlab version downloads
kibana github gitlab version downloads
kubectl github gitlab version downloads
locale Ansible Molecule gitlab version downloads
logrotate github gitlab version downloads
lynis github gitlab version downloads
maintenance github gitlab version downloads
mate github gitlab version downloads
mediawiki github gitlab version downloads
metricbeat Ansible Molecule gitlab version downloads
microsoft_repository_keys github gitlab version downloads
modprobe github gitlab version downloads
molecule github gitlab version downloads
moodle github gitlab version downloads
mount github gitlab version downloads
mssql github gitlab version downloads
mysql github gitlab version downloads
nfs github gitlab version downloads
nginx github gitlab version downloads
node_red github gitlab version downloads
npm github gitlab version downloads
ntp github gitlab version downloads
openssh github gitlab version downloads
openssl github gitlab version downloads
openvpn github gitlab version downloads
owncloud github gitlab version downloads
perforce github gitlab version downloads
pip github gitlab version downloads
php github gitlab version downloads
php_fpm github gitlab version downloads
podman github gitlab version downloads
postfix github gitlab version downloads
postgres github gitlab version downloads
powertools github gitlab version downloads
prometheus github gitlab version downloads
puppet github gitlab version downloads
python_pip github gitlab version downloads
rclone github gitlab version downloads
reboot github gitlab version downloads
redis github gitlab version downloads
remi github pipeline status version downloads
repo_epel github pipeline status version downloads
restore github gitlab version downloads
rpmfusion github gitlab version downloads
roundcubemail github gitlab version downloads
ruby github gitlab version downloads
scl github gitlab version downloads
security github gitlab version downloads
sensu github gitlab version downloads
selinux github gitlab version downloads
service github gitlab version downloads
setuptools github gitlab version downloads
snmpd github gitlab version downloads
solr github pipeline status version downloads
sosreport github pipeline status version downloads
ssh_chroot_jail github pipeline status version downloads
storage github gitlab version downloads
sudo github gitlab version downloads
ssh_keys github gitlab version downloads
supervisor github gitlab version downloads
swap github gitlab version downloads
sysctl github gitlab version downloads
systemd github gitlab version downloads
teams github gitlab version downloads
terraform github gitlab version downloads
telegraf github gitlab version downloads
tftpd github pipeline status version downloads
test_connection github gitlab version downloads
thunderbird github gitlab version downloads
timezone github gitlab version downloads
tomcat github gitlab version downloads
transmission github gitlab version downloads
travis github gitlab version downloads
tune2fs github gitlab version downloads
turn github gitlab version downloads
types github gitlab version downloads
qemu github gitlab version downloads
ulimit github gitlab version downloads
umask Ansible Molecule gitlab version downloads
update github gitlab version downloads
update_package_cache github gitlab version downloads
update_pip_packages github gitlab version downloads
upgrade github gitlab version downloads
unowned_files github gitlab version downloads
users github gitlab version downloads
vagrant github gitlab version downloads
varnish github gitlab version downloads
vault Ansible Molecule gitlab version downloads
vector github gitlab version downloads
victoriametrics github pipeline status version downloads
victoriametrics_cluster github gitlab version downloads
xinetd github gitlab version downloads
zabbix_agent github gitlab version downloads
zabbix_proxy github gitlab version downloads
zabbix_repository github gitlab version downloads
zabbix_server github gitlab version downloads
zabbix_web github gitlab version downloads
<!– Requirement GitHub Version  
aide Ansible Molecule Version    
aliases Ansible Molecule Version    
anaconda Ansible Molecule Version    
apache Ansible Molecule Version    
apache-php-fpm Ansible Molecule Version    
apache-php-fpm-back Ansible Molecule Version    
apt_autostart Ansible Molecule Version    
apt_repository Ansible Molecule Version    
ara Ansible Molecule Version    
ara_api Ansible Molecule Version    
artifactory Ansible Molecule Version    
at Ansible Molecule Version    
auto_update Ansible Molecule Version    
autofs Ansible Molecule Version    
aws_inspector Ansible Molecule Version    
backup Ansible Molecule Version    
backports Ansible Molecule Version    
bamboo Ansible Molecule Version    
bareos_console Ansible Molecule Version    
bareos_dir Ansible Molecule Version    
bareos_fd Ansible Molecule Version    
bareos_repository Ansible Molecule Version    
beats Ansible Molecule Version    
bitbucket Ansible Molecule Version    
borgbackup Ansible Molecule Version    
bootstrap Ansible Molecule Version    
brightbox_ruby Ansible Molecule Version    
buildtools Ansible Molecule Version    
ca Ansible Molecule Version    
ca_certificates Ansible Molecule Version    
cargo Ansible Molecule Version    
capistrano_setup Ansible Molecule Version    
checkmk_agent Ansible Molecule Version    
cni Ansible Molecule Version    
clamav Ansible Molecule Version    
code Ansible Molecule Version    
collectd Ansible Molecule Version    
common Ansible Molecule Version    
consul Ansible Molecule Version    
consul_ca Ansible Molecule Version    
container_docs Ansible Molecule Version    
core_dependencies Ansible Molecule Version    
cron Ansible Molecule Version    
crowd Ansible Molecule Version    
crun Ansible Molecule Version    
daemonize Ansible Molecule Version    
datadog Ansible Molecule Version    
dhcpd Ansible Molecule Version    
digitalocean-agent Ansible Molecule Version    
dnsmasq Ansible Molecule Version    
docker Ansible Molecule Version    
docker_ce Ansible Molecule Version    
docker_env Ansible Molecule Version    
dotfiles Ansible Molecule Version    
diskspace Ansible Molecule Version    
dsvpn Ansible Molecule Version    
ecr_container_build Ansible Molecule Version    
eclipse Ansible Molecule Version    
elastic_repo Ansible Molecule Version    
elasticsearch Ansible Molecule Version    
elasticsearch_curator Ansible Molecule Version    
encryptfs Ansible Molecule Version    
enpass Ansible Molecule Version    
environment Ansible Molecule Version    
envoy Ansible Molecule Version    
epel Ansible Molecule Version    
erlang Ansible Molecule Version    
etherscan Ansible Molecule Version    
etherpad Ansible Molecule Version    
earlyoom Ansible Molecule Version    
f5ansible Ansible Molecule Version    
facts Ansible Molecule Version    
fail2ban Ansible Molecule Version    
fathom Ansible Molecule Version    
filebeat Ansible Molecule Version    
firefox Ansible Molecule Version    
firewall Ansible Molecule Version    
firewalld Ansible Molecule Version    
fish Ansible Molecule Version    
forensics Ansible Molecule Version    
filesystem Ansible Molecule Version    
fathom Ansible Molecule Version    
f5ansible Ansible Molecule Version    
firewalld Ansible Molecule Version    
forensics Ansible Molecule Version    
filebeat Ansible Molecule Version    
facts Ansible Molecule Version    
fail2ban Ansible Molecule Version    
firewall Ansible Molecule Version    
firefox Ansible Molecule Version    
filesystem Ansible Molecule Version    
fish Ansible Molecule Version    
gitea Ansible Molecule Version    
git Ansible Molecule Version    
git_test Ansible Molecule Version    
github_users Ansible Molecule Version    
gotop Ansible Molecule Version    
glusterfs Ansible Molecule Version    
gitlab_ce Ansible Molecule Version    
gitlab_runner Ansible Molecule Version    
graylog Ansible Molecule Version    
gitlab Ansible Molecule Version    
galen Ansible Molecule Version    
git_tag Ansible Molecule Version    
gimp Ansible Molecule Version    
gitlab_ee Ansible Molecule Version    
grafana Ansible Molecule Version    
gnome Ansible Molecule Version    
go Ansible Molecule Version    
httpd Ansible Molecule Version    
hosts Ansible Molecule Version    
homebrew Ansible Molecule Version    
haproxy Ansible Molecule Version    
hashicorp Ansible Molecule Version    
hostname Ansible Molecule Version    
handbrake Ansible Molecule Version    
influxdb-1 Ansible Molecule Version    
irslackd Ansible Molecule Version    
influxdb Ansible Molecule Version    
icingaweb2 Ansible Molecule Version    
influxdb2 Ansible Molecule Version    
investigate Ansible Molecule Version    
java Ansible Molecule Version    
jenkins Ansible Molecule Version    
jira Ansible Molecule Version    
jitsi Ansible Molecule Version    
keepalived Ansible Molecule Version    
kubectl Ansible Molecule Version    
kernel Ansible Molecule Version    
kibana Ansible Molecule Version    
keyboard Ansible Molecule Version    
local Ansible Molecule Version    
logrotate Ansible Molecule Version    
logstash Ansible Molecule Version    
lynis Ansible Molecule Version    
locale Ansible Molecule Version    
libvirt Ansible Molecule Version    
munin_node Ansible Molecule Version    
mysql Ansible Molecule Version    
modprobe Ansible Molecule Version    
maintenance Ansible Molecule Version    
mount Ansible Molecule Version    
microsoft_repository_keys Ansible Molecule Version    
mailhog Ansible Molecule Version    
mosquitto Ansible Molecule Version    
mssql Ansible Molecule Version    
metricbeat Ansible Molecule Version    
mediawiki Ansible Molecule Version    
moodle Ansible Molecule Version    
maven Ansible Molecule Version    
multi Ansible Molecule Version    
memcached Ansible Molecule Version    
mas Ansible Molecule Version    
molecule Ansible Molecule Version    
mate Ansible Molecule Version    
mozilla_syncserver Ansible Molecule Version    
munin Ansible Molecule Version    
netiq-edirectory Ansible Molecule Version    
nginx Ansible Molecule Version    
netiq-sentinel-syslog-event-source Ansible Molecule Version    
nomad Ansible Molecule Version    
npm Ansible Molecule Version    
ntp Ansible Molecule Version    
node_red Ansible Molecule Version    
nodejs Ansible Molecule Version    
netdata Ansible Molecule Version    
nfs Ansible Molecule Version    
nsswitch Ansible Molecule Version    
netiq_idm Ansible Molecule Version    
openjdk Ansible Molecule Version    
openvpn Ansible Molecule Version    
obsproject Ansible Molecule Version    
openssl Ansible Molecule Version    
owncloud Ansible Molecule Version    
os_updates Ansible Molecule Version    
openssh Ansible Molecule Version    
prometheus Ansible Molecule Version    
powertools Ansible Molecule Version    
php_versions Ansible Molecule Version    
postfix Ansible Molecule Version    
pip Ansible Molecule Version    
puppet Ansible Molecule Version    
packer_rhel Ansible Molecule Version    
proxychains Ansible Molecule Version    
packer Ansible Molecule Version    
proxmox_pbs Ansible Molecule Version    
phpmyadmin Ansible Molecule Version    
podman Ansible Molecule Version    
postgresql_replication Ansible Molecule Version    
postgres Ansible Molecule Version    
passenger Ansible Molecule Version    
php Ansible Molecule Version    
php_fpm Ansible Molecule Version    
p10k Ansible Molecule Version    
perforce Ansible Molecule Version    
python_pip Ansible Molecule Version    
qemu Ansible Molecule Version    
ruby_gems Ansible Molecule Version    
remi Ansible Molecule Version    
rabbitmq Ansible Molecule Version    
restore Ansible Molecule Version    
rpmfusion Ansible Molecule Version    
rabbitvcs Ansible Molecule Version    
redmine Ansible Molecule Version    
redmine-1 Ansible Molecule Version    
rundeck Ansible Molecule Version    
redis Ansible Molecule Version    
rclone Ansible Molecule Version    
reboot Ansible Molecule Version    
repo_epel Ansible Molecule Version    
rsyslog Ansible Molecule Version    
ruby Ansible Molecule Version    
revealmd Ansible Molecule Version    
roundcubemail Ansible Molecule Version    
setuptools Ansible Molecule Version    
samba Ansible Molecule Version    
scl Ansible Molecule Version    
sublime_text Ansible Molecule Version    
subversion Ansible Molecule Version    
ssh_keys Ansible Molecule Version    
sosreport Ansible Molecule Version    
security Ansible Molecule Version    
supervisor Ansible Molecule Version    
skeleton Ansible Molecule Version    
ssh_chroot_jail Ansible Molecule Version    
sysstat Ansible Molecule Version    
sentry Ansible Molecule Version    
service Ansible Molecule Version    
selinux Ansible Molecule Version    
swap Ansible Molecule Version    
sensu Ansible Molecule Version    
sonarqube Ansible Molecule Version    
skopeo Ansible Molecule Version    
solr Ansible Molecule Version    
sysctl Ansible Molecule Version    
systemd Ansible Molecule Version    
squid Ansible Molecule Version    
snmpd Ansible Molecule Version    
stratis Ansible Molecule Version    
spamassassin Ansible Molecule Version    
storage Ansible Molecule Version    
sudo Ansible Molecule Version    
test_connection Ansible Molecule Version    
testing Ansible Molecule Version    
thunderbird Ansible Molecule Version    
timezone Ansible Molecule Version    
telegraf Ansible Molecule Version    
teams Ansible Molecule Version    
terraform Ansible Molecule Version    
turn Ansible Molecule Version    
travis Ansible Molecule Version    
tftpd Ansible Molecule Version    
transmission Ansible Molecule Version    
types Ansible Molecule Version    
tomcat Ansible Molecule Version    
tick Ansible Molecule Version    
tune2fs Ansible Molecule Version    
users Ansible Molecule Version    
update_package_cache Ansible Molecule Version    
ulimit Ansible Molecule Version    
unowned_files Ansible Molecule Version    
umask Ansible Molecule Version    
upgrade Ansible Molecule Version    
update Ansible Molecule Version    
update_pip_packages Ansible Molecule Version    
victoriametrics Ansible Molecule Version    
vector Ansible Molecule Version    
victoriametrics_cluster Ansible Molecule Version    
vault Ansible Molecule Version    
virtualbox Ansible Molecule Version    
vagrant Ansible Molecule Version    
vim Ansible Molecule Version    
varnish Ansible Molecule Version    
wordpress Ansible Molecule Version    
xinetd Ansible Molecule Version    
zabbix_agent Ansible Molecule Version    
zeppelin Ansible Molecule Version    
zabbix_proxy Ansible Molecule Version    
zabbix_web Ansible Molecule Version    
zabbix_server Ansible Molecule Version    
zabbix_repository Ansible Molecule Version–>    

Dependencies

Most roles have a “soft dependency” described in requirements.yml. You can choose to use those roles if you like them. Here is an overview of these soft dependencies.

The dependencies are soft for these reasons:

Because these dependencies are loose, you have to include them in your playbook yourself:

- name: make the best machine ever
  hosts: all
  become: yes

  roles:
    - role: buluma.bootstrap
    - role: buluma.java
    - role: buluma.tomcat

Some roles have a hard dependencies on another role, mainly for a shared handler or variables set in the parent role, used in the child role. More details on how to use these roles. These hard dependencies are describe in meta/main.yml under dependencies.

Role Depends on Reason
ca httpd inherited variable
common reboot A reboot is used in tasks/main.yml with include_role.
openvpn selinux SELinux is configured in tasks/main.yml with include_role.
openvpn ca OpenSSL keys are created in tasks/main.yml with include_role.
php httpd handler
phpmyadmin httpd handler
roundcubemail httpd handler
selinux reboot A reboot is used in tasks/main.yml with include_role.
spamassassin rsyslog handler
tftpd xinetd handler
update reboot A reboot is used in tasks/main.yml with include_role.
zabbix httpd handler & inherited variable

A page describing how I release considering these dependencies.

Component builds

Ansible tests are being executed using the following components

Operating specific containers

Component Build status
docker-alpine-openrc alpine build status
docker-archlinux-systemd docker build
docker-amazonlinux-systemd amazonlinux build status
docker-centos-systemd centos build status
docker-debian-systemd debian build status
docker-fedora-systemd fedora build status
docker-opensuse-systemd opensuse build status
docker-oraclelinux-systemd oraclelinux build status
docker-redhat-systemd redhat build status
docker-ubuntu-systemd ubuntu build status

Ansible collections

Collection Function
roles All roles from buluma.github.io

Github Actions

Component Status
Github Action Molecule Yaml Lint
Github Action Galaxy Yaml Lint
Github Action Gitlab Yaml Lint
Github Action RPM build Yaml Lint
Github Action Graphviz Yaml Lint
docker-github-action-molecule Build and Push Container
docker-github-action-galaxy Build and Push Container
docker-github-action-graphviz build-push

Other tools

I use a few tools to maintain the software I create.

Tool Usage
ansible-generate Generate lots of file for ansible roles based on a few input files.
ansible-probe Test ansible roles on different distributions and version.
ansible-tester Try roles against vagrant machines before pushing or releasing.
pre-commit Some pre-commit hooks to test Ansible code.

Tests

Unit tests and integration tests are use to verify the quality of the roles, read more about testing

Issues & pull requests

See the overview of issues and pull requests.

Distributions

The goal is to let all Ansible roles work on as many distributions as possible, but this is sometimes not possible. For each distribution, the current and previous release is tested. A role may work on diferent distributions, like Red Hat Enterprise Linux (RHEL), but it’s not tested against it. By default these Linux distributions are included in the tests:

Distribution Version(s)
Archlinux latest
Alpine latest & edge*
CentOS 7 & latest
Debian stable & unstable*
Fedora latest & rawhide*
OpenSUSE leap & tumbleweed
Ubuntu latest, devel* & rolling

Ansible versions

The goal is to let all roles work on these Ansible version:

See errors? Please help and make a merge request on git.