]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-common: use variable rgw_group_name instead of hard coded group 655/head
authorrunsisi <runsisi@hust.edu.cn>
Mon, 28 Mar 2016 10:59:09 +0000 (18:59 +0800)
committerrunsisi <runsisi@hust.edu.cn>
Mon, 28 Mar 2016 10:59:09 +0000 (18:59 +0800)
name 'rgws' when checking rgw port.

Signed-off-by: runsisi <runsisi@hust.edu.cn>
roles/ceph-common/tasks/checks/check_firewall.yml

index a03dca4dd6366b12d7d6da54b464a630434941b4..d41579e22f94ac290df2888c1a301a083b3752e3 100644 (file)
@@ -83,7 +83,7 @@
   local_action: shell set -o pipefail && nmap -p {{ radosgw_civetweb_port }} {{ item }} {{ hostvars[item]['ansible_default_ipv4']['address'] }} | grep -sqo filtered
   changed_when: false
   failed_when: false
-  with_items: groups.rgws
+  with_items: groups.{{ rgw_group_name }}
   register: rgwportstate
   when:
     check_firewall and