This commit is contained in:
yohan 2024-10-27 23:41:29 +01:00
parent 51896bf4b6
commit 4e8fba4443

View File

@ -129,7 +129,7 @@
state: directory
mode: '0755'
become: true
when: not gitea_restored_flag.stat.exists or gitea_first_install | default(False) | bool
when: gitea_first_install | default(False) | bool or not gitea_restored_flag.stat.exists
- name: Create gitea_restored state file
ansible.builtin.file:
@ -137,4 +137,4 @@
state: touch
mode: '0755'
become: true
when: not gitea_restored_flag.stat.exists or gitea_first_install | default(False) | bool
when: gitea_first_install | default(False) | bool or not gitea_restored_flag.stat.exists