Add rsyncd setup for sundries so proxies can pull easyfix from it instead of apps
This commit is contained in:
parent
79f507271b
commit
a41d855530
4 changed files with 33 additions and 2 deletions
|
@ -7,8 +7,11 @@ num_cpus: 2
|
||||||
# for systems that do not match the above - specify the same parameter in
|
# for systems that do not match the above - specify the same parameter in
|
||||||
# the host_vars/$hostname file
|
# the host_vars/$hostname file
|
||||||
|
|
||||||
tcp_ports: [ 80 ]
|
tcp_ports: [ 80, 873 ]
|
||||||
fas_client_groups: sysadmin-noc,fi-apprentice
|
fas_client_groups: sysadmin-noc,fi-apprentice
|
||||||
|
|
||||||
# This gets overridden by whichever node we want to run special cronjobs.
|
# This gets overridden by whichever node we want to run special cronjobs.
|
||||||
master_sundries_node: False
|
master_sundries_node: False
|
||||||
|
|
||||||
|
# A host group for rsync config
|
||||||
|
host_group: sundries
|
||||||
|
|
|
@ -7,8 +7,11 @@ num_cpus: 2
|
||||||
# for systems that do not match the above - specify the same parameter in
|
# for systems that do not match the above - specify the same parameter in
|
||||||
# the host_vars/$hostname file
|
# the host_vars/$hostname file
|
||||||
|
|
||||||
tcp_ports: [ 80 ]
|
tcp_ports: [ 80, 873 ]
|
||||||
fas_client_groups: sysadmin-noc,fi-apprentice
|
fas_client_groups: sysadmin-noc,fi-apprentice
|
||||||
|
|
||||||
# This gets overridden by whichever node we want to run special cronjobs.
|
# This gets overridden by whichever node we want to run special cronjobs.
|
||||||
master_sundries_node: False
|
master_sundries_node: False
|
||||||
|
|
||||||
|
# A host group for rsync config
|
||||||
|
host_group: sundries
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
when: master_sundries_node
|
when: master_sundries_node
|
||||||
- role: fedora_owner_change
|
- role: fedora_owner_change
|
||||||
when: master_sundries_node
|
when: master_sundries_node
|
||||||
|
- rsyncd
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/hosts.yml"
|
- include: "{{ tasks }}/hosts.yml"
|
||||||
|
|
24
roles/rsyncd/files/rsyncd.conf.sundries
Normal file
24
roles/rsyncd/files/rsyncd.conf.sundries
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue