aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoransible_admin <capsul@cyberia.club>2020-12-08 03:03:52 +0000
committeransible_admin <capsul@cyberia.club>2020-12-08 03:03:52 +0000
commit7671971c5d7b971950906d1ce1ca9e1363fa0869 (patch)
tree8974aca748f1910d157f7a83fc683f4afc375af7
parentc62b530c37177432971f8898a95d7cdbc5d0576a (diff)
downloadops-handbook-7671971c5d7b971950906d1ce1ca9e1363fa0869.tar.gz
ops-handbook-7671971c5d7b971950906d1ce1ca9e1363fa0869.tar.bz2
add single quotes
-rw-r--r--builds/daily/postgres-backups.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/builds/daily/postgres-backups.yaml b/builds/daily/postgres-backups.yaml
index e67f93f..bac186b 100644
--- a/builds/daily/postgres-backups.yaml
+++ b/builds/daily/postgres-backups.yaml
@@ -25,7 +25,7 @@ tasks:
pgbackup.gz backups@192.168.1.246:/tank/backups/postgres/matrix-pgbackup.gz
- prom: |
ssh backups@matrix.cyberia.club \
- echo pg_backup_completion_time $(date +%s) \
- > /var/lib/prometheus/textfile_collector/pg_backup.prom.$$ \
+ 'echo pg_backup_completion_time $(date +%s) \
+ > /var/lib/prometheus/textfile_collector/pg_backup.prom.$$ \
&& mv /var/lib/prometheus/textfile_collector/pg_backup.prom.$$ \
- /var/lib/prometheus/textfile_collector/pg_backup.prom
+ /var/lib/prometheus/textfile_collector/pg_backup.prom'