We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 03fd4a1 + 42d5f46 commit 8e8dda2Copy full SHA for 8e8dda2
ansible/roles/wordpress-instance/tasks/backup.yml
@@ -16,6 +16,7 @@
16
- "../../../vars/secrets-{{ openshift_namespace }}.yml" # Used in env-secrets.yml
17
18
- name: Backup
19
+ timeout: "{{ backup_timeout_seconds }}"
20
environment: "{{ backup_restic_environment }}" # `-vv`-safe!
21
shell:
22
executable: /bin/bash
ansible/roles/wordpress-instance/vars/backup-vars.yml
@@ -20,6 +20,8 @@ backup_aws_s3api_jq_sum_cmd: >-
backup_aws_s3api_jq_count_cmd: >-
jq '.Contents | length'
23
+backup_timeout_seconds: "{{ 8 * 3600 }}" # 8 hours
24
+
25
backup_url_label: "{{ wp_base_url | ensure_trailing_slash }}"
26
backup_curl_to_pushgateway_cmd: >-
27
curl -X POST -H "Content-Type: text/plain" --data-binary @-
0 commit comments