diff --git a/roles/role_deploy_gitea/tasks/main.yml b/roles/role_deploy_gitea/tasks/main.yml index 54e4dd8..b23bf47 100644 --- a/roles/role_deploy_gitea/tasks/main.yml +++ b/roles/role_deploy_gitea/tasks/main.yml @@ -74,8 +74,6 @@ - not gitea_first_install | default(False) | bool - not gitea_restored_flag.stat.exists -- debug: var=gitea_db_password - - name: Create gitea container containers.podman.podman_container: name: gitea @@ -88,14 +86,14 @@ - 2223:22/tcp volume: - /mnt/volumes/gitea_data/data:/data:Z - environment: - - USER_UID=1000 - - USER_GID=1000 - - GITEA__database__DB_TYPE=mysql - - GITEA__database__HOST=mysql-server:3306 - - GITEA__database__NAME=gitea - - GITEA__database__USER=gitea - - GITEA__database__PASSWD={{ gitea_db_password }} + env: + USER_UID: "1000" + USER_GID: "1000" + GITEA__database__DB_TYPE: "mysql" + GITEA__database__HOST: "mysql-server:3306" + GITEA__database__NAME: "gitea" + GITEA__database__USER: "gitea" + GITEA__database__PASSWD: "{{ gitea_db_password }}" dns_search: "{{ SHORTNAME }}-sub.{{ DOMAIN }}" generate_systemd: path: /etc/systemd/system