Skip to content

Instantly share code, notes, and snippets.

@strus38
strus38 / to_fqdn.py
Created April 28, 2022 07:23
to_fqdn allows to mass change your ansible repo to support ansible FQDNs modules
#!/usr/bin/env python3
import os
import fnmatch
import sys
import shutil
import re
MODULES_LIST=[
"ansible.builtin.add_host:",
"ansible.builtin.apt:",
version: '2.1'
services:
gitlab:
image: gitlab/gitlab-ce:${GITLAB_CE_VERSION}
restart: always
container_name: gitlab
hostname: "${GITLAB_HOST}"
environment:
- TZ=${TZ}
- VIRTUAL_HOST=${GITLAB_HOST},${REGISTRY_HOST}