[vsftpd] deployed on ptf and eclat
parent
6fa8f17d0c
commit
f76aaa84f4
|
@ -23,3 +23,6 @@ loc_rsyncd:
|
||||||
path: /mirror/pub/
|
path: /mirror/pub/
|
||||||
comment: CR@NS MIRROR
|
comment: CR@NS MIRROR
|
||||||
hosts_allow: "*"
|
hosts_allow: "*"
|
||||||
|
|
||||||
|
loc_vsftpd:
|
||||||
|
root: /mirror/pub
|
||||||
|
|
|
@ -64,3 +64,6 @@ loc_nginx:
|
||||||
- "mp4"
|
- "mp4"
|
||||||
- "mp4_buffer_size 1m"
|
- "mp4_buffer_size 1m"
|
||||||
- "mp4_max_buffer_size 5m"
|
- "mp4_max_buffer_size 5m"
|
||||||
|
|
||||||
|
loc_vsftpd:
|
||||||
|
root: /ftp
|
||||||
|
|
4
hosts
4
hosts
|
@ -31,7 +31,6 @@ routeur-gulp.cachan-adm.crans.org
|
||||||
monitoring.adm.crans.org
|
monitoring.adm.crans.org
|
||||||
|
|
||||||
[certbot]
|
[certbot]
|
||||||
charybde.adm.crans.org
|
|
||||||
sputnik.adm.crans.org
|
sputnik.adm.crans.org
|
||||||
|
|
||||||
[certbot:children]
|
[certbot:children]
|
||||||
|
@ -43,6 +42,7 @@ mailman
|
||||||
radius # We use certbot to manage LE certificates
|
radius # We use certbot to manage LE certificates
|
||||||
reverseproxy
|
reverseproxy
|
||||||
thelounge
|
thelounge
|
||||||
|
vsftpd
|
||||||
|
|
||||||
[dhcp:children]
|
[dhcp:children]
|
||||||
routeurs_vm
|
routeurs_vm
|
||||||
|
@ -221,6 +221,8 @@ sam.adm.crans.org
|
||||||
|
|
||||||
[vsftpd]
|
[vsftpd]
|
||||||
charybde.adm.crans.org
|
charybde.adm.crans.org
|
||||||
|
eclat.adm.crans.org
|
||||||
|
ptf.adm.crans.org
|
||||||
|
|
||||||
[wiki]
|
[wiki]
|
||||||
kiwi.adm.crans.org
|
kiwi.adm.crans.org
|
||||||
|
|
|
@ -1,37 +0,0 @@
|
||||||
{{ ansible_header | comment }}
|
|
||||||
|
|
||||||
# GLOBAL OPTIONS
|
|
||||||
log file=/var/log/rsyncd
|
|
||||||
# for pid file, dont' use /var/run/rsync.pid unless you're not going to run
|
|
||||||
# rsync out of the init.d script. The /var/run/rsyncd.pid below is OK.
|
|
||||||
pid file=/var/run/rsyncd.pid
|
|
||||||
syslog facility=daemon
|
|
||||||
|
|
||||||
uid = root
|
|
||||||
gid = root
|
|
||||||
use chroot = no
|
|
||||||
read only = yes
|
|
||||||
# On ne liste pas les modules
|
|
||||||
list = no
|
|
||||||
#max connections=2
|
|
||||||
ignore errors = no
|
|
||||||
ignore nonreadable = yes
|
|
||||||
# ne loggue pas tous les fichiers
|
|
||||||
transfer logging = no
|
|
||||||
dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz
|
|
||||||
# verifie les droits de /etc/rsyncd.secrets
|
|
||||||
strict modes = yes
|
|
||||||
# personne n'accede aux modules par defaut
|
|
||||||
hosts deny = *
|
|
||||||
|
|
||||||
# MODULE OPTIONS
|
|
||||||
{% for module in rsyncd.modules -%}
|
|
||||||
[{{ module.name }}]
|
|
||||||
path = {{ module.path }}
|
|
||||||
comment = {{ module.comment }}
|
|
||||||
uid = nobody
|
|
||||||
gid = nogroup
|
|
||||||
hosts allow = {{ module.hosts_allow }}
|
|
||||||
read only = yes
|
|
||||||
|
|
||||||
{% endfor %}
|
|
Loading…
Reference in New Issue