diff --git a/host-pottwal.yml b/host-pottwal.yml index 891854a..1829b8e 100644 --- a/host-pottwal.yml +++ b/host-pottwal.yml @@ -37,14 +37,14 @@ tasks: - - name: Check if gitea data dir exists + - name: Check if forgejo data dir exists ansible.builtin.stat: - path: "{{ data_dir }}/gitea" - register: gitea_dir - - name: Fail if gitea data dir does not exist + path: "{{ data_dir }}/forgejo" + register: forgejo_dir + - name: Fail if forgejo data dir does not exist ansible.builtin.fail: - msg: "Gitea data dir is missing, please restore from the backup!" - when: not gitea_dir.stat.exists + msg: "Forgejo data dir is missing, please restore from the backup!" + when: not forgejo_dir.stat.exists # If port 2222 is changed here, it must also be adapted # in the gitea config file (see application volume)!! @@ -71,7 +71,7 @@ USER_UID: "1000" USER_GID: "1000" volumes: - - "{{ data_dir }}/gitea:/data:rw" + - "{{ data_dir }}/forgejo:/data:rw" - name: Setup proxy site gitea.n39.eu include_role: