Rename roles to underscore

This patch renames all roles with a `-` to `_`, to comply with the ansible-lint rule 106. As collection roles are now also limited to these symbols and this will make it easier to move them later.
This commit is contained in:
saibotk 2020-09-26 18:12:59 +02:00
parent c21977784a
commit a47fde9c9c
No known key found for this signature in database
GPG key ID: A3299C587D5DF523
65 changed files with 56 additions and 56 deletions

View file

@ -20,8 +20,8 @@
- hosts: camo - hosts: camo
roles: roles:
- docker - docker
- docker-compose - docker_compose
- docker-cleanup - docker_cleanup
- traefik - traefik
- camo - camo
environment: environment:

View file

@ -19,8 +19,8 @@
- hosts: codimd - hosts: codimd
roles: roles:
- docker - docker
- docker-compose - docker_compose
- docker-cleanup - docker_cleanup
- traefik - traefik
- codimd - codimd
environment: environment:

View file

@ -19,8 +19,8 @@
- hosts: docker_ipv6_nat - hosts: docker_ipv6_nat
roles: roles:
- docker - docker
- docker-compose - docker_compose
- docker-cleanup - docker_cleanup
- docker-ipv6-nat - docker_ipv6_nat
environment: environment:
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages

View file

@ -20,8 +20,8 @@
- hosts: gitlab_runner - hosts: gitlab_runner
roles: roles:
- docker - docker
- docker-compose - docker_compose
- docker-cleanup - docker_cleanup
- gitlab-runner - gitlab_runner
environment: environment:
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages

View file

@ -20,8 +20,8 @@
- hosts: gitlab - hosts: gitlab
roles: roles:
- docker - docker
- docker-compose - docker_compose
- docker-cleanup - docker_cleanup
- traefik - traefik
- gitlab - gitlab
environment: environment:

View file

@ -20,8 +20,8 @@
- hosts: keycloak - hosts: keycloak
roles: roles:
- docker - docker
- docker-compose - docker_compose
- docker-cleanup - docker_cleanup
- traefik - traefik
- keycloak - keycloak
environment: environment:

View file

@ -19,6 +19,6 @@
- hosts: lvm_self_backup - hosts: lvm_self_backup
roles: roles:
- docker - docker
- lvm-self-backup - lvm_self_backup
environment: environment:
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages

View file

@ -19,7 +19,7 @@
- hosts: mailcow - hosts: mailcow
roles: roles:
- docker - docker
- docker-compose - docker_compose
environment: environment:
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages

View file

@ -20,8 +20,8 @@
- hosts: mastodon - hosts: mastodon
roles: roles:
- docker - docker
- docker-compose - docker_compose
- docker-cleanup - docker_cleanup
- traefik - traefik
- mastodon - mastodon
environment: environment:

View file

@ -19,9 +19,9 @@
- hosts: minecraft - hosts: minecraft
roles: roles:
- docker - docker
- docker-compose - docker_compose
- docker-cleanup - docker_cleanup
- traefik - traefik
- minecraft-blockmap - minecraft_blockmap
environment: environment:
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages

View file

@ -20,8 +20,8 @@
- hosts: minecraft - hosts: minecraft
roles: roles:
- docker - docker
- docker-compose - docker_compose
- docker-cleanup - docker_cleanup
- minecraft - minecraft
environment: environment:
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages

View file

@ -20,8 +20,8 @@
- hosts: minio - hosts: minio
roles: roles:
- docker - docker
- docker-compose - docker_compose
- docker-cleanup - docker_cleanup
- traefik - traefik
- minio - minio
environment: environment:

View file

@ -20,8 +20,8 @@
- hosts: monitoring - hosts: monitoring
roles: roles:
- docker - docker
- docker-compose - docker_compose
- docker-cleanup - docker_cleanup
- traefik - traefik
- monitoring - monitoring
environment: environment:
@ -30,8 +30,8 @@
- hosts: all - hosts: all
roles: roles:
- docker - docker
- docker-compose - docker_compose
- docker-cleanup - docker_cleanup
- telegraf - telegraf
environment: environment:
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages

View file

@ -1,4 +1,4 @@
docker-cleanup docker_cleanup
========= =========
This will prune unused docker images older than 3 days, to keep the system clean. This will prune unused docker images older than 3 days, to keep the system clean.

View file

@ -1,4 +1,4 @@
docker-compose docker_compose
========= =========
This will install the [docker-compose](https://docs.docker.com/compose/) python library via pip and by default choose another install location, This will install the [docker-compose](https://docs.docker.com/compose/) python library via pip and by default choose another install location,

View file

@ -1,5 +1,5 @@
--- ---
# Default variables for the docker-compose role # Default variables for the docker_compose role
# Infrastructure # Infrastructure
# Ansible instructions to deploy the infrastructure # Ansible instructions to deploy the infrastructure

View file

@ -1,4 +1,4 @@
Docker-IPv6-NAT docker_ipv6_nat
=============== ===============
This will install the [docker-ipv6nat](https://github.com/robbertkl/docker-ipv6nat) container to manage IPv6 with ease on a single IP. This will install the [docker-ipv6nat](https://github.com/robbertkl/docker-ipv6nat) container to manage IPv6 with ease on a single IP.

View file

@ -1,5 +1,5 @@
--- ---
# Default variables for the docker-ipv6-nat role # Default variables for the docker_ipv6_nat role
# Infrastructure # Infrastructure
# Ansible instructions to deploy the infrastructure # Ansible instructions to deploy the infrastructure

View file

@ -1,5 +1,5 @@
--- ---
# Tasks file for the docker-ipv6-nat role # Tasks file for the docker_ipv6_nat role
# Infrastructure # Infrastructure
# Ansible instructions to deploy the infrastructure # Ansible instructions to deploy the infrastructure

View file

@ -1,4 +1,4 @@
gitlab-runner gitlab_runner
========= =========
This will setup a [gitlab-runner](https://docs.gitlab.com/runner/) instance via Docker, that is used to run CI jobs from a Gitlab instance. This will setup a [gitlab-runner](https://docs.gitlab.com/runner/) instance via Docker, that is used to run CI jobs from a Gitlab instance.

View file

@ -1,5 +1,5 @@
--- ---
# Default variables for the gitlab-runner role # Default variables for the gitlab_runner role
# Infrastructure # Infrastructure
# Ansible instructions to deploy the infrastructure # Ansible instructions to deploy the infrastructure

View file

@ -1,5 +1,5 @@
--- ---
# Tasks file for the gitlab-runner role # Tasks file for the gitlab_runner role
# Infrastructure # Infrastructure
# Ansible instructions to deploy the infrastructure # Ansible instructions to deploy the infrastructure

View file

@ -1,4 +1,4 @@
lvm-self-backup lvm_self_backup
========= =========
This will deploy a `backup-lvm` and `backup-lvm-ls` script to backup configured LVM volumes encrypted with GPG using duplicity and list the remote content for verification. A systemd timer is also deployed to schedule automatic backups daily at 4 AM. This will deploy a `backup-lvm` and `backup-lvm-ls` script to backup configured LVM volumes encrypted with GPG using duplicity and list the remote content for verification. A systemd timer is also deployed to schedule automatic backups daily at 4 AM.

View file

@ -1,5 +1,5 @@
--- ---
# Default variables for the lvm-self-backup role # Default variables for the lvm_self_backup role
# Infrastructure # Infrastructure
# Ansible instructions to deploy the infrastructure # Ansible instructions to deploy the infrastructure

View file

@ -1,5 +1,5 @@
--- ---
# Tasks file for the lvm-self-backup role # Tasks file for the lvm_self_backup role
# Infrastructure # Infrastructure
# Ansible instructions to deploy the infrastructure # Ansible instructions to deploy the infrastructure

View file

@ -1,5 +1,5 @@
--- ---
# Default variables for the minecraft-blockmap role # Default variables for the minecraft_blockmap role
# Infrastructure # Infrastructure
# Ansible instructions to deploy the infrastructure # Ansible instructions to deploy the infrastructure

View file

@ -1,5 +1,5 @@
--- ---
# Tasks file for the minecraft-blockmap roles # Tasks file for the minecraft_blockmap roles
# Infrastructure # Infrastructure
# Ansible instructions to deploy the infrastructure # Ansible instructions to deploy the infrastructure

View file

@ -1,5 +1,5 @@
--- ---
# Default variables for the moby-engine role # Default variables for the moby_engine role
# Infrastructure # Infrastructure
# Ansible instructions to deploy the infrastructure # Ansible instructions to deploy the infrastructure

View file

@ -1,5 +1,5 @@
--- ---
# Handlers file for the moby-engine role # Handlers file for the moby_engine role
# Infrastructure # Infrastructure
# Ansible instructions to deploy the infrastructure # Ansible instructions to deploy the infrastructure

View file

@ -1,6 +1,6 @@
galaxy_info: galaxy_info:
author: saibotk author: saibotk
description: Install moby-engine. description: Installs moby-engine.
license: GPL-3.0-only license: GPL-3.0-only
min_ansible_version: 2.9 min_ansible_version: 2.9

View file

@ -1,5 +1,5 @@
--- ---
# Tasks for the moby-engine role on Fedora 32 # Tasks for the moby_engine role on Fedora 32
# Infrastructure # Infrastructure
# Ansible instructions to deploy the infrastructure # Ansible instructions to deploy the infrastructure

View file

@ -1,5 +1,5 @@
--- ---
# Tasks file for the moby-engine role # Tasks file for the moby_engine role
# Infrastructure # Infrastructure
# Ansible instructions to deploy the infrastructure # Ansible instructions to deploy the infrastructure

View file

@ -1,5 +1,5 @@
--- ---
# Default variables for the unicorns-website role # Default variables for the unicorns_website role
# Infrastructure # Infrastructure
# Ansible instructions to deploy the infrastructure # Ansible instructions to deploy the infrastructure

View file

@ -21,8 +21,8 @@
serial: 1 serial: 1
roles: roles:
- docker - docker
- docker-compose - docker_compose
- docker-cleanup - docker_cleanup
- traefik - traefik
- static_websites - static_websites
environment: environment:

View file

@ -19,8 +19,8 @@
- hosts: teamspeak - hosts: teamspeak
roles: roles:
- docker - docker
- docker-compose - docker_compose
- docker-cleanup - docker_cleanup
- traefik - traefik
- teamspeak - teamspeak
- ts3audiobot - ts3audiobot

View file

@ -19,8 +19,8 @@
- hosts: unicorns_website - hosts: unicorns_website
roles: roles:
- docker - docker
- docker-compose - docker_compose
- docker-cleanup - docker_cleanup
- traefik - traefik
environment: environment:
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
@ -35,4 +35,4 @@
become: true become: true
- include_role: - include_role:
name: unicorns-website name: unicorns_website