summaryrefslogtreecommitdiff
path: root/create.py
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-04-27 22:06:46 -0700
committerElizabeth Hunt <me@liz.coffee>2025-04-27 22:06:46 -0700
commitc7c2393bc06c0e49612e9d05e55c30028c02cd4a (patch)
tree082819cda63bcb71d3df5cc6ab921e50c21d83c0 /create.py
parentdaef0cf448af17357b552245f39067a9d340ce3d (diff)
downloadinfra-c7c2393bc06c0e49612e9d05e55c30028c02cd4a.tar.gz
infra-c7c2393bc06c0e49612e9d05e55c30028c02cd4a.zip
Fix when deployment dir doesn't yet exist on remote
Diffstat (limited to 'create.py')
-rwxr-xr-xcreate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/create.py b/create.py
index 1a0da51..500c8be 100755
--- a/create.py
+++ b/create.py
@@ -134,7 +134,7 @@ class RoleGenerator:
vars:
service_name: {self.service}
template_render_dir: "../templates"
- service_destination_dir: "{{ {self.service}_base }}"
+ service_destination_dir: "{{{{ {self.service}_base }}}}"
"""))
def create_compose_template(self):
@@ -148,7 +148,7 @@ class RoleGenerator:
- {{{{ {self.service}_base }}}}/volumes/data:/data
environment:
- TZ={{{{ timezone }}}}
- - DEPLOYMENET_TIME={{{{ now() }}}}
+ - DEPLOYMENT_TIME={{{{ now() }}}}
networks:
- proxy
healthcheck: