Compare commits
3 commits
main
...
register_f
Author | SHA1 | Date | |
---|---|---|---|
08eda21236 | |||
41c3d2dcea | |||
29eb8ee4e0 |
2 changed files with 6 additions and 2 deletions
|
@ -19,6 +19,7 @@
|
|||
- name: '[INSTALL] - Check if forgejo is installed'
|
||||
shell:
|
||||
cmd: '{{ forgejo_bindir }}/forgejo --version -c {{ forgejo_confdir }}'
|
||||
ignore_errors: 'true'
|
||||
register: forgejo_is_installed
|
||||
|
||||
- name: '[UPGRADE] - Check forgejo health'
|
||||
|
@ -26,6 +27,7 @@
|
|||
cmd: '{{ forgejo_bindir }}/forgejo doctor check --all -c {{ forgejo_confdir }}'
|
||||
become: 'yes'
|
||||
become_user: '{{ forgejo_user }}'
|
||||
ignore_errors: 'true'
|
||||
register: forgejo_health
|
||||
|
||||
- name: '[UPGRADE] - Restart forgejo'
|
||||
|
@ -92,6 +94,7 @@
|
|||
cmd: '{{ forgejo_bindir }}/forgejo doctor check --all -c {{ forgejo_confdir }}'
|
||||
become: 'yes'
|
||||
become_user: '{{ forgejo_user }}'
|
||||
ignore_errors: 'true'
|
||||
register: forgejo_health
|
||||
|
||||
- name: '[UPGRADE] - Stop forgejo. Something is wrong'
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
include_tasks: configure.yml
|
||||
tags: config
|
||||
|
||||
- name: "[FORGEJO] - systemd"
|
||||
include_tasks: systemd.yml
|
||||
|
||||
- name: "[FORGEJO] - install or upgrade"
|
||||
include_tasks: install_upgrade.yml
|
||||
|
||||
|
@ -15,5 +18,3 @@
|
|||
when: forgejo_custom_themes is defined
|
||||
tags: theme
|
||||
|
||||
- name: "[FORGEJO] - systemd"
|
||||
include_tasks: systemd.yml
|
||||
|
|
Loading…
Reference in a new issue