From 9553aceb1153d98a689daa288489a1c7ae95dcd6 Mon Sep 17 00:00:00 2001 From: Jean-Marie Mineau Date: Wed, 27 Jan 2021 02:02:33 +0100 Subject: [PATCH] "fix some bugs btw, yaml, why the hell would 2222:22 be a date? Fuck you you stupide piece of code" --- hosts | 4 ++-- roles/install_docker/tasks/main.yml | 2 +- roles/install_gitea/templates/docker-compose.yml.j2 | 6 +++--- roles/install_keycloak/templates/docker-compose.yml.j2 | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hosts b/hosts index 2970273..858d56d 100644 --- a/hosts +++ b/hosts @@ -20,8 +20,8 @@ all: dns-histausse.fil.sand.auro.re: keycloak_host: hosts: - azerty.fil.sand.auro.re - server_hostname: azerty.fil.sand.auro.re + azerty.fil.sand.auro.re: + server_hostname: azerty.fil.sand.auro.re gitea_host: hosts: azerty.fil.sand.auro.re: diff --git a/roles/install_docker/tasks/main.yml b/roles/install_docker/tasks/main.yml index 24055f3..d9de1fa 100644 --- a/roles/install_docker/tasks/main.yml +++ b/roles/install_docker/tasks/main.yml @@ -35,4 +35,4 @@ pip: name: - docker - - docker-compose + - docker-compose>=1.28.0 diff --git a/roles/install_gitea/templates/docker-compose.yml.j2 b/roles/install_gitea/templates/docker-compose.yml.j2 index fb49039..9f670c9 100644 --- a/roles/install_gitea/templates/docker-compose.yml.j2 +++ b/roles/install_gitea/templates/docker-compose.yml.j2 @@ -1,5 +1,5 @@ # {{ ansible_managed }} -version: "3.8" +# version: "3.8" networks: gitea: @@ -25,8 +25,8 @@ services: - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro ports: - - {{ gitea_https_port }}:3000 - - {{ gitea_ssh_port }}:22 + - "{{ gitea_https_port }}:3000" + - "{{ gitea_ssh_port }}:22" depends_on: - db diff --git a/roles/install_keycloak/templates/docker-compose.yml.j2 b/roles/install_keycloak/templates/docker-compose.yml.j2 index 44a756a..0e6cbcc 100644 --- a/roles/install_keycloak/templates/docker-compose.yml.j2 +++ b/roles/install_keycloak/templates/docker-compose.yml.j2 @@ -1,5 +1,5 @@ # {{ ansible_managed }} -version: "3.8" +# version: "3.8" services: server: @@ -14,4 +14,4 @@ services: volumes: - ./certificates:/etc/x509/https ports: - - {{ keycloak_https_port }}:8443 + - "{{ keycloak_https_port }}:8443"