From ec4b02c5392e9a4baca6fc3a58ce2bca01a303da Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 21 May 2014 15:47:07 +0000 Subject: [PATCH] In staging, host_group is automagically staging, so use rsync_group instead here. --- inventory/group_vars/sundries | 2 +- inventory/group_vars/sundries-stg | 2 +- roles/rsyncd/tasks/main.yml | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/inventory/group_vars/sundries b/inventory/group_vars/sundries index 556898d3fb..d511388d57 100644 --- a/inventory/group_vars/sundries +++ b/inventory/group_vars/sundries @@ -14,4 +14,4 @@ fas_client_groups: sysadmin-noc,fi-apprentice master_sundries_node: False # A host group for rsync config -host_group: sundries +rsync_group: sundries diff --git a/inventory/group_vars/sundries-stg b/inventory/group_vars/sundries-stg index 556898d3fb..d511388d57 100644 --- a/inventory/group_vars/sundries-stg +++ b/inventory/group_vars/sundries-stg @@ -14,4 +14,4 @@ fas_client_groups: sysadmin-noc,fi-apprentice master_sundries_node: False # A host group for rsync config -host_group: sundries +rsync_group: sundries diff --git a/roles/rsyncd/tasks/main.yml b/roles/rsyncd/tasks/main.yml index ea195925d9..8f7de86f60 100644 --- a/roles/rsyncd/tasks/main.yml +++ b/roles/rsyncd/tasks/main.yml @@ -19,6 +19,7 @@ - "{{ rsyncd_conf }}" - rsyncd.conf.{{ ansible_fqdn }} - rsyncd.conf.{{ host_group }} + - rsyncd.conf.{{ rsync_group }} - rsyncd.conf.default notify: - restart xinetd @@ -31,6 +32,7 @@ - "{{ rsync }}" - rsync.{{ ansible_fqdn }} - rsync.{{ host_group }} + - rsync.{{ rsync_group }} - rsync.default notify: - restart xinetd