Compare commits
No commits in common. "305a7a7f671380b9c9f6333ffa1a1cadb29b4fbb" and "4857f2d5b93152b8e9138d55740fa2c79644bbd4" have entirely different histories.
305a7a7f67
...
4857f2d5b9
@ -1,10 +1,3 @@
|
||||
- name: Ensure backup directory exists
|
||||
ansible.builtin.file:
|
||||
path: "/var/backups"
|
||||
state: directory
|
||||
owner: root
|
||||
mode: "755"
|
||||
|
||||
- name: Get stats of docker-compose.yaml
|
||||
ansible.builtin.stat:
|
||||
path: /opt/gitea/docker-compose.yaml
|
||||
@ -27,7 +20,7 @@
|
||||
- name: Backup Gitea Directory
|
||||
ansible.posix.synchronize:
|
||||
src: /opt/gitea/
|
||||
dest: "/var/backups/gitea.backup@{{ lookup('pipe', 'date --utc --iso-8601=seconds') }}"
|
||||
dest: "/opt/gitea.backup@{{ lookup('pipe', 'date --utc --iso-8601=seconds') }}"
|
||||
recursive: true
|
||||
delegate_to: "{{ inventory_hostname }}"
|
||||
listen:
|
||||
|
@ -93,7 +93,7 @@ GITEA__service__ENABLE_NOTIFY_MAIL={{ gitea_vars.service.enable_notify_mail }}
|
||||
GITEA__service__DEFAULT_KEEP_EMAIL_PRIVATE={{ gitea_vars.service.default_keep_email_private }}
|
||||
{% endif %}
|
||||
{% if 'default_allow_create_organization' in gitea_vars['service'] %}
|
||||
GITEA__service__DEFAULT_ALLOW_CREATE_ORGANIZATION={{ gitea_vars.service.default_allow_create_organization }}
|
||||
GITEA__service__DEFAULT_ALLOW_CREATE_ORGANIZATION ={{ gitea_vars.service.default_allow_create_organization }}
|
||||
{% endif %}
|
||||
{% if 'default_enable_timetracking' in gitea_vars['service'] %}
|
||||
GITEA__service__DEFAULT_ENABLE_TIMETRACKING={{ gitea_vars.service.default_enable_timetracking }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user