Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
26b5041b
Verified
Commit
26b5041b
authored
Nov 14, 2020
by
Jelle van der Waa
🚧
Browse files
Check if archive_mirrors is defined
As we have no archive_mirrors at this time.
parent
5be4dad2
Pipeline
#3092
passed with stage
in 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
roles/dbscripts/templates/rsyncd.conf.proto.j2
View file @
26b5041b
...
...
@@ -20,10 +20,12 @@ hosts allow = 127.0.0.1
# DENY THE REST
hosts deny = *
{% if 'archive_mirrors' in groups %}
[archive]
path = /srv/archive
comment = archive
hosts allow = {{ groups['archive_mirrors'] | map('extract', hostvars, ['ipv4_address']) | join(' ') }}
{% endif %}
# Just the release/stable iso/packages (for most mirrors)
[ftp]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment