Add rsyncd setup for sundries so proxies can pull easyfix from it instead of apps

This commit is contained in:
Kevin Fenzi 2014-05-19 23:17:42 +00:00
parent 79f507271b
commit a41d855530
4 changed files with 33 additions and 2 deletions

View file

@ -7,8 +7,11 @@ num_cpus: 2
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 80 ]
tcp_ports: [ 80, 873 ]
fas_client_groups: sysadmin-noc,fi-apprentice
# This gets overridden by whichever node we want to run special cronjobs.
master_sundries_node: False
# A host group for rsync config
host_group: sundries

View file

@ -7,8 +7,11 @@ num_cpus: 2
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 80 ]
tcp_ports: [ 80, 873 ]
fas_client_groups: sysadmin-noc,fi-apprentice
# This gets overridden by whichever node we want to run special cronjobs.
master_sundries_node: False
# A host group for rsync config
host_group: sundries

View file

@ -46,6 +46,7 @@
when: master_sundries_node
- role: fedora_owner_change
when: master_sundries_node
- rsyncd
tasks:
- include: "{{ tasks }}/hosts.yml"

View file

@ -0,0 +1,24 @@
pid file = /var/run/rsyncd.pid
syslog facility = daemon
dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.bz2 *.iso
use chroot = false
transfer logging = false
exclude = .snapshot/ .~tmp~/ /.private/ /.private/** **/.nfs*
# For distributing applications
[log]
comment = Server Logs
path = /var/log
uid = root
gid = root
read only = yes
hosts allow = 10.5.126.29 192.168.1.56
[gather-easyfix]
comment = Gather easyfix available in Fedora
path = /srv/web/gather-easyfix
uid = root
gid = root
read only = yes
hosts allow = 10.5.126.0/255.255.255.0 192.168.0.0/255.255.0.0