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:
parent
c21977784a
commit
a47fde9c9c
65 changed files with 56 additions and 56 deletions
4
camo.yml
4
camo.yml
|
@ -20,8 +20,8 @@
|
|||
- hosts: camo
|
||||
roles:
|
||||
- docker
|
||||
- docker-compose
|
||||
- docker-cleanup
|
||||
- docker_compose
|
||||
- docker_cleanup
|
||||
- traefik
|
||||
- camo
|
||||
environment:
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
- hosts: codimd
|
||||
roles:
|
||||
- docker
|
||||
- docker-compose
|
||||
- docker-cleanup
|
||||
- docker_compose
|
||||
- docker_cleanup
|
||||
- traefik
|
||||
- codimd
|
||||
environment:
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
- hosts: docker_ipv6_nat
|
||||
roles:
|
||||
- docker
|
||||
- docker-compose
|
||||
- docker-cleanup
|
||||
- docker-ipv6-nat
|
||||
- docker_compose
|
||||
- docker_cleanup
|
||||
- docker_ipv6_nat
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
- hosts: gitlab_runner
|
||||
roles:
|
||||
- docker
|
||||
- docker-compose
|
||||
- docker-cleanup
|
||||
- gitlab-runner
|
||||
- docker_compose
|
||||
- docker_cleanup
|
||||
- gitlab_runner
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
- hosts: gitlab
|
||||
roles:
|
||||
- docker
|
||||
- docker-compose
|
||||
- docker-cleanup
|
||||
- docker_compose
|
||||
- docker_cleanup
|
||||
- traefik
|
||||
- gitlab
|
||||
environment:
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
- hosts: keycloak
|
||||
roles:
|
||||
- docker
|
||||
- docker-compose
|
||||
- docker-cleanup
|
||||
- docker_compose
|
||||
- docker_cleanup
|
||||
- traefik
|
||||
- keycloak
|
||||
environment:
|
||||
|
|
|
@ -19,6 +19,6 @@
|
|||
- hosts: lvm_self_backup
|
||||
roles:
|
||||
- docker
|
||||
- lvm-self-backup
|
||||
- lvm_self_backup
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
- hosts: mailcow
|
||||
roles:
|
||||
- docker
|
||||
- docker-compose
|
||||
- docker_compose
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
- hosts: mastodon
|
||||
roles:
|
||||
- docker
|
||||
- docker-compose
|
||||
- docker-cleanup
|
||||
- docker_compose
|
||||
- docker_cleanup
|
||||
- traefik
|
||||
- mastodon
|
||||
environment:
|
||||
|
|
|
@ -19,9 +19,9 @@
|
|||
- hosts: minecraft
|
||||
roles:
|
||||
- docker
|
||||
- docker-compose
|
||||
- docker-cleanup
|
||||
- docker_compose
|
||||
- docker_cleanup
|
||||
- traefik
|
||||
- minecraft-blockmap
|
||||
- minecraft_blockmap
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
- hosts: minecraft
|
||||
roles:
|
||||
- docker
|
||||
- docker-compose
|
||||
- docker-cleanup
|
||||
- docker_compose
|
||||
- docker_cleanup
|
||||
- minecraft
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
- hosts: minio
|
||||
roles:
|
||||
- docker
|
||||
- docker-compose
|
||||
- docker-cleanup
|
||||
- docker_compose
|
||||
- docker_cleanup
|
||||
- traefik
|
||||
- minio
|
||||
environment:
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
- hosts: monitoring
|
||||
roles:
|
||||
- docker
|
||||
- docker-compose
|
||||
- docker-cleanup
|
||||
- docker_compose
|
||||
- docker_cleanup
|
||||
- traefik
|
||||
- monitoring
|
||||
environment:
|
||||
|
@ -30,8 +30,8 @@
|
|||
- hosts: all
|
||||
roles:
|
||||
- docker
|
||||
- docker-compose
|
||||
- docker-cleanup
|
||||
- docker_compose
|
||||
- docker_cleanup
|
||||
- telegraf
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
docker-cleanup
|
||||
docker_cleanup
|
||||
=========
|
||||
|
||||
This will prune unused docker images older than 3 days, to keep the system clean.
|
|
@ -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,
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Default variables for the docker-compose role
|
||||
# Default variables for the docker_compose role
|
||||
|
||||
# Infrastructure
|
||||
# Ansible instructions to deploy the infrastructure
|
|
@ -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.
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Default variables for the docker-ipv6-nat role
|
||||
# Default variables for the docker_ipv6_nat role
|
||||
|
||||
# Infrastructure
|
||||
# Ansible instructions to deploy the infrastructure
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Tasks file for the docker-ipv6-nat role
|
||||
# Tasks file for the docker_ipv6_nat role
|
||||
|
||||
# Infrastructure
|
||||
# Ansible instructions to deploy the infrastructure
|
|
@ -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.
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Default variables for the gitlab-runner role
|
||||
# Default variables for the gitlab_runner role
|
||||
|
||||
# Infrastructure
|
||||
# Ansible instructions to deploy the infrastructure
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Tasks file for the gitlab-runner role
|
||||
# Tasks file for the gitlab_runner role
|
||||
|
||||
# Infrastructure
|
||||
# Ansible instructions to deploy the infrastructure
|
|
@ -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.
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Default variables for the lvm-self-backup role
|
||||
# Default variables for the lvm_self_backup role
|
||||
|
||||
# Infrastructure
|
||||
# Ansible instructions to deploy the infrastructure
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Tasks file for the lvm-self-backup role
|
||||
# Tasks file for the lvm_self_backup role
|
||||
|
||||
# Infrastructure
|
||||
# Ansible instructions to deploy the infrastructure
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Default variables for the minecraft-blockmap role
|
||||
# Default variables for the minecraft_blockmap role
|
||||
|
||||
# Infrastructure
|
||||
# Ansible instructions to deploy the infrastructure
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Tasks file for the minecraft-blockmap roles
|
||||
# Tasks file for the minecraft_blockmap roles
|
||||
|
||||
# Infrastructure
|
||||
# Ansible instructions to deploy the infrastructure
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Default variables for the moby-engine role
|
||||
# Default variables for the moby_engine role
|
||||
|
||||
# Infrastructure
|
||||
# Ansible instructions to deploy the infrastructure
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Handlers file for the moby-engine role
|
||||
# Handlers file for the moby_engine role
|
||||
|
||||
# Infrastructure
|
||||
# Ansible instructions to deploy the infrastructure
|
|
@ -1,6 +1,6 @@
|
|||
galaxy_info:
|
||||
author: saibotk
|
||||
description: Install moby-engine.
|
||||
description: Installs moby-engine.
|
||||
license: GPL-3.0-only
|
||||
min_ansible_version: 2.9
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Tasks for the moby-engine role on Fedora 32
|
||||
# Tasks for the moby_engine role on Fedora 32
|
||||
|
||||
# Infrastructure
|
||||
# Ansible instructions to deploy the infrastructure
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Tasks file for the moby-engine role
|
||||
# Tasks file for the moby_engine role
|
||||
|
||||
# Infrastructure
|
||||
# Ansible instructions to deploy the infrastructure
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Default variables for the unicorns-website role
|
||||
# Default variables for the unicorns_website role
|
||||
|
||||
# Infrastructure
|
||||
# Ansible instructions to deploy the infrastructure
|
|
@ -21,8 +21,8 @@
|
|||
serial: 1
|
||||
roles:
|
||||
- docker
|
||||
- docker-compose
|
||||
- docker-cleanup
|
||||
- docker_compose
|
||||
- docker_cleanup
|
||||
- traefik
|
||||
- static_websites
|
||||
environment:
|
|
@ -19,8 +19,8 @@
|
|||
- hosts: teamspeak
|
||||
roles:
|
||||
- docker
|
||||
- docker-compose
|
||||
- docker-cleanup
|
||||
- docker_compose
|
||||
- docker_cleanup
|
||||
- traefik
|
||||
- teamspeak
|
||||
- ts3audiobot
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
- hosts: unicorns_website
|
||||
roles:
|
||||
- docker
|
||||
- docker-compose
|
||||
- docker-cleanup
|
||||
- docker_compose
|
||||
- docker_cleanup
|
||||
- traefik
|
||||
environment:
|
||||
PYTHONPATH: /opt/python2/ansible-dependencies/lib/python2.7/site-packages
|
||||
|
@ -35,4 +35,4 @@
|
|||
become: true
|
||||
|
||||
- include_role:
|
||||
name: unicorns-website
|
||||
name: unicorns_website
|
Loading…
Add table
Reference in a new issue