Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
Ansible
Commits
3468f6a7
Verified
Commit
3468f6a7
authored
3 years ago
by
shirenn
🌊
Committed by
ynerant
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[mirror]
parent
4a452650
Loading
Loading
1 merge request
!254
Cachan
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
host_vars/eclat.adm.crans.org.yml
+15
-0
15 additions, 0 deletions
host_vars/eclat.adm.crans.org.yml
plays/mirror.yml
+16
-72
16 additions, 72 deletions
plays/mirror.yml
with
31 additions
and
72 deletions
host_vars/eclat.adm.crans.org.yml
0 → 100644
+
15
−
0
View file @
3468f6a7
---
interfaces
:
adm
:
ens18
srv_nat
:
ens19
san
:
ens20
loc_ftpsync
:
{}
loc_rsync_mirror
:
{}
loc_rsyncd
:
modules
:
-
name
:
mirror
path
:
/mirror/pub/
comment
:
CR@NS MIRROR
hosts_allow
:
"
*"
This diff is collapsed.
Click to expand it.
plays/mirror.yml
+
16
−
72
View file @
3468f6a7
#!/usr/bin/env ansible-playbook
#!/usr/bin/env ansible-playbook
---
---
# Debian and Ubuntu mirrors
-
hosts
:
mirror_backend
-
hosts
:
charybde.adm.crans.org
vars
:
vars
:
ftpsync
:
ftpsync
:
'
{{
glob_ftpsync
|
default({})
|
combine(loc_ftpsync
|
default({}))
}}'
-
name
:
main
rsync_mirror
:
'
{{
glob_rsync_mirror
|
default({})
|
combine(loc_rsync_mirror
|
default({}))
}}'
dest
:
/pubftp/pub/debian/
apt_mirror
:
'
{{
glob_apt_mirror
|
default({})
|
combine(loc_apt_mirror
|
default({}))
}}'
cron_time
:
"
25
1,13"
rsync_host
:
syncproxy.eu.debian.org
rsync_path
:
debian
# https://lists.debian.org/debian-mirrors-announce/2020/03/msg00000.html
-
name
:
security
dest
:
/pubftp/pub/debian-security/
cron_time
:
"
40
*"
rsync_host
:
rsync.security.debian.org
rsync_path
:
debian-security
-
name
:
backports
dest
:
/pubftp/pub/debian-backports/
cron_time
:
"
7
3,15"
rsync_host
:
syncproxy.eu.debian.org
rsync_path
:
debian-backports
-
name
:
ubuntu
dest
:
/pubftp/pub/ubuntu/
cron_time
:
"
55
5,17"
rsync_host
:
archive.ubuntu.com
rsync_path
:
ubuntu
rsync_mirror
:
-
name
:
videolan
dest
:
/pubftp/pub/videolan
cron_time
:
"
03
10,14,18,22,2,6"
rsync_host
:
rsync.videolan.org
rsync_path
:
videolan-ftp
-
name
:
debian
dest
:
/pubftp/pub/distributions/linux/debian
cron_time
:
"
00
5"
rsync_host
:
cdimage.debian.org
rsync_path
:
cdimage/release
-
name
:
ubuntu
dest
:
/pubftp/pub/distributions/linux/ubuntu
cron_time
:
"
00
5"
rsync_host
:
cdimage.ubuntu.com
rsync_path
:
cdimage/releases
-
name
:
xubuntu
dest
:
/pubftp/pub/distributions/linux/xubuntu
cron_time
:
"
00
5"
rsync_host
:
cdimage.ubuntu.com
rsync_path
:
cdimage/xubuntu/releases
-
name
:
kubuntu
dest
:
/pubftp/pub/distributions/linux/kubuntu
cron_time
:
"
00
5"
rsync_host
:
cdimage.ubuntu.com
rsync_path
:
cdimage/kubuntu/releases
-
name
:
lubuntu
dest
:
/pubftp/pub/distributions/linux/lubuntu
cron_time
:
"
00
5"
rsync_host
:
cdimage.ubuntu.com
rsync_path
:
cdimage/lubuntu/releases
-
name
:
ubuntu-mate
dest
:
/pubftp/pub/distributions/linux/ubuntu-mate
cron_time
:
"
00
5"
rsync_host
:
cdimage.ubuntu.com
rsync_path
:
cdimage/ubuntu-mate/releases
nginx
:
'
{{
glob_nginx
|
default({})
|
combine(loc_nginx
|
default({}))
}}'
roles
:
roles
:
-
ftpsync
-
ftpsync
-
rsync-mirror
-
rsync-mirror
-
apt-mirror
-
hosts
:
mirror_frontend
vars
:
nginx
:
'
{{
glob_nginx
|
default({})
|
combine(loc_nginx
|
default({}))
}}'
roles
:
-
nginx
-
nginx
-
hosts
:
rsyncd
vars
:
rsyncd
:
'
{{
glob_rsyncd
|
default({})
|
combine(loc_rsyncd
|
default({}))
}}'
roles
:
-
rsyncd
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment