summaryrefslogtreecommitdiffstats
path: root/roles/rsyncd/tasks
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2017-03-09 21:08:00 +0000
committerKevin Fenzi <kevin@scrye.com>2017-03-09 21:08:00 +0000
commitacad15248cf8ca5aa6218ca04c729c19a4e7e948 (patch)
tree690ef93f5dcacbdff95cba8e166c343dab747188 /roles/rsyncd/tasks
parent08c6cf0497912a6dace8131775d70a3c7bc8c0ed (diff)
downloadansible-acad15248cf8ca5aa6218ca04c729c19a4e7e948.tar.gz
ansible-acad15248cf8ca5aa6218ca04c729c19a4e7e948.tar.xz
ansible-acad15248cf8ca5aa6218ca04c729c19a4e7e948.zip
add tags to rsyncd role
Diffstat (limited to 'roles/rsyncd/tasks')
-rw-r--r--roles/rsyncd/tasks/main.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/roles/rsyncd/tasks/main.yml b/roles/rsyncd/tasks/main.yml
index f7cf4d3e9..d8135420f 100644
--- a/roles/rsyncd/tasks/main.yml
+++ b/roles/rsyncd/tasks/main.yml
@@ -11,6 +11,7 @@
- libsemanage-python
tags:
- packages
+ - rsyncd
when: ansible_distribution_major_version|int < 22
- name: install rnecessary packages
@@ -21,6 +22,7 @@
- libsemanage-python
tags:
- packages
+ - rsyncd
when: ansible_distribution_major_version|int > 21
- name: rsyncd.conf file
@@ -35,6 +37,7 @@
- restart xinetd
tags:
- config
+ - rsyncd
- name: xinetd rsync file
copy: src={{ item }} dest=/etc/xinetd.d/rsync mode=0644
@@ -48,14 +51,17 @@
- restart xinetd
tags:
- config
+ - rsyncd
- name: make sure xinetd is started
service: name=xinetd state=started
tags:
- services
+ - rsyncd
- name: set sebooleans so rsync can read dirs
seboolean: name=rsync_export_all_ro
state=true
persistent=true
-
+ tags:
+ - rsyncd