diff --git a/inventory/group_vars/sundries b/inventory/group_vars/sundries index 11016b7fc9..556898d3fb 100644 --- a/inventory/group_vars/sundries +++ b/inventory/group_vars/sundries @@ -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 diff --git a/inventory/group_vars/sundries-stg b/inventory/group_vars/sundries-stg index 11016b7fc9..556898d3fb 100644 --- a/inventory/group_vars/sundries-stg +++ b/inventory/group_vars/sundries-stg @@ -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 diff --git a/playbooks/groups/sundries.yml b/playbooks/groups/sundries.yml index 04d0c3accd..bdbb6970ff 100644 --- a/playbooks/groups/sundries.yml +++ b/playbooks/groups/sundries.yml @@ -46,6 +46,7 @@ when: master_sundries_node - role: fedora_owner_change when: master_sundries_node + - rsyncd tasks: - include: "{{ tasks }}/hosts.yml" diff --git a/roles/rsyncd/files/rsyncd.conf.sundries b/roles/rsyncd/files/rsyncd.conf.sundries new file mode 100644 index 0000000000..7a346b829a --- /dev/null +++ b/roles/rsyncd/files/rsyncd.conf.sundries @@ -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