Fix bug.
This commit is contained in:
parent
51896bf4b6
commit
4e8fba4443
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user