Run rsyncd with access to the "ubuntu" directory. This will permit Red
Hat's rel-eng to view this repository layout.
service:
name: faucet
state: restarted
+
+- name: restart rsyncd
+ service:
+ name: rsyncd
+ state: restarted
- include: distill/configure.yml
tags:
- configure-distill
+
+# install and configure rsyncd
+- include: rsync.yml
+ tags:
+ - rsync
--- /dev/null
+---
+- name: install rsync
+ yum:
+ name: rsync
+ state: present
+
+- name: configure rsyncd
+ template:
+ src: rsyncd.conf
+ dest: /etc/rsyncd.conf
+ notify:
+ - restart rsyncd
+
+- name: start the rsyncd service
+ service:
+ name: rsyncd
+ state: started
+ enabled: yes
--- /dev/null
+#
+# {{ ansible_managed }}
+#
+
+ uid = nobody
+ gid = nobody
+ use chroot = yes
+ max connections = 64
+
+[ubuntu]
+ path = /var/www/{{ ansible_hostname }}/htdocs/ubuntu
+ comment = ceph ubuntu packages