add tags to rsyncd role

This commit is contained in:
Kevin Fenzi 2017-03-09 21:08:00 +00:00
parent 08c6cf0497
commit acad15248c

View file

@ -11,6 +11,7 @@
- libsemanage-python - libsemanage-python
tags: tags:
- packages - packages
- rsyncd
when: ansible_distribution_major_version|int < 22 when: ansible_distribution_major_version|int < 22
- name: install rnecessary packages - name: install rnecessary packages
@ -21,6 +22,7 @@
- libsemanage-python - libsemanage-python
tags: tags:
- packages - packages
- rsyncd
when: ansible_distribution_major_version|int > 21 when: ansible_distribution_major_version|int > 21
- name: rsyncd.conf file - name: rsyncd.conf file
@ -35,6 +37,7 @@
- restart xinetd - restart xinetd
tags: tags:
- config - config
- rsyncd
- name: xinetd rsync file - name: xinetd rsync file
copy: src={{ item }} dest=/etc/xinetd.d/rsync mode=0644 copy: src={{ item }} dest=/etc/xinetd.d/rsync mode=0644
@ -48,14 +51,17 @@
- restart xinetd - restart xinetd
tags: tags:
- config - config
- rsyncd
- name: make sure xinetd is started - name: make sure xinetd is started
service: name=xinetd state=started service: name=xinetd state=started
tags: tags:
- services - services
- rsyncd
- name: set sebooleans so rsync can read dirs - name: set sebooleans so rsync can read dirs
seboolean: name=rsync_export_all_ro seboolean: name=rsync_export_all_ro
state=true state=true
persistent=true persistent=true
tags:
- rsyncd