From a2d1d99ec33dbc20b941eafea323f96fb87f30ae Mon Sep 17 00:00:00 2001 From: runsisi Date: Mon, 28 Mar 2016 18:59:09 +0800 Subject: [PATCH] ceph-common: use variable rgw_group_name instead of hard coded group name 'rgws' when checking rgw port. Signed-off-by: runsisi --- roles/ceph-common/tasks/checks/check_firewall.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-common/tasks/checks/check_firewall.yml b/roles/ceph-common/tasks/checks/check_firewall.yml index a03dca4dd..d41579e22 100644 --- a/roles/ceph-common/tasks/checks/check_firewall.yml +++ b/roles/ceph-common/tasks/checks/check_firewall.yml @@ -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 -- 2.47.3