From 60aed543d3759830d34adb85c9c7c7ed1f079bbb Mon Sep 17 00:00:00 2001 From: tanshu Date: Sat, 17 Oct 2020 12:29:19 +0530 Subject: [PATCH] Feat: Update gitea, otherwise it will not upgrade when new image is available --- gitea/playbook.yml | 2 ++ gitea/vars/default.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gitea/playbook.yml b/gitea/playbook.yml index cb43480..bfbb93c 100755 --- a/gitea/playbook.yml +++ b/gitea/playbook.yml @@ -18,6 +18,8 @@ docker_image: name: "{{ container_image }}" source: pull + state: present + force_source: yes - getent: database: passwd diff --git a/gitea/vars/default.yml b/gitea/vars/default.yml index 307a72d..d75ddc7 100644 --- a/gitea/vars/default.yml +++ b/gitea/vars/default.yml @@ -4,6 +4,6 @@ http_conf: "git.tanshu.com.conf" http_url: "https://git.tanshu.com" container_name: gitea -container_image: gitea/gitea +container_image: gitea/gitea:latest user: 'git'