Skip to content

Commit

Permalink
Add swift variables to the role
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Jan 13, 2025
1 parent c0d4adf commit 5a01787
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deploy/roles/catchall/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ egi_group: "1999"
# No site information as default
sites: []

# Empty swift configuration as default
swift:
site:
vo:
container:

cloud_info_cron:
minute: "4,34"
hour: "*"
Expand Down
3 changes: 3 additions & 0 deletions deploy/roles/catchall/templates/cloud-info.env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ OS_PROTOCOL={{ site.protocol | default('openid') }}
OS_REGION={{ site.region }}
{% endif %}
SITE_NAME={{ site.gocdb }}
SWIFT_SITE_NAME={{ swift.site }}
SWIFT_VO_NAME={{ swift.vo }}
SWIFT_CONTAINER_NAME={{ swift.container }}

0 comments on commit 5a01787

Please sign in to comment.