Compare commits
2 Commits
cdb0dab350
...
d64c96576c
Author | SHA1 | Date | |
---|---|---|---|
d64c96576c | |||
6d90fe0510 |
@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
- name: Backup Gitea Directory
|
- name: Backup Gitea Directory
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: /opt/gitea
|
src: /opt/gitea/
|
||||||
dest: "/opt/gitea.backup@{{ ansible_date_time.iso8601 }}"
|
dest: "/opt/gitea.backup@{{ ansible_date_time.iso8601 }}"
|
||||||
mode: "700"
|
mode: "700"
|
||||||
remote_src: true
|
remote_src: true
|
||||||
@ -80,7 +80,7 @@
|
|||||||
register: docker_compose
|
register: docker_compose
|
||||||
|
|
||||||
- ansible.builtin.debug:
|
- ansible.builtin.debug:
|
||||||
var: output
|
var: docker_compose
|
||||||
|
|
||||||
- name: Check if {{ gitea.hostname }}.{{ gitea.domain }} is available and returning status 200
|
- name: Check if {{ gitea.hostname }}.{{ gitea.domain }} is available and returning status 200
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user