From: Matthew Rees Date: Tue, 7 Jun 2016 14:50:43 +0000 (+0200) Subject: Fix typo for ceph monitor port X-Git-Tag: v1.0.6~91^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=38355f5fa76e5eaad180d1570ffa45b68fc6ff4e;p=ceph-ansible.git Fix typo for ceph monitor port --- diff --git a/roles/ceph-common/tasks/checks/check_firewall.yml b/roles/ceph-common/tasks/checks/check_firewall.yml index 2563506bf..3880c6a1b 100644 --- a/roles/ceph-common/tasks/checks/check_firewall.yml +++ b/roles/ceph-common/tasks/checks/check_firewall.yml @@ -14,7 +14,7 @@ - nmapexist.rc != 0 - name: check if monitor port is not filtered - local_action: shell set -o pipefail && nmap -p 6689 {{ hostvars[inventory_hostname]['ansible_' + monitor_interface]['ipv4']['address'] if hostvars[inventory_hostname]['ansible_' + monitor_interface] is defined else hostvars[inventory_hostname]['monitor_address'] }} | grep -sqo -e filtered -e '0 hosts up' + local_action: shell set -o pipefail && nmap -p 6789 {{ hostvars[inventory_hostname]['ansible_' + monitor_interface]['ipv4']['address'] if hostvars[inventory_hostname]['ansible_' + monitor_interface] is defined else hostvars[inventory_hostname]['monitor_address'] }} | grep -sqo -e filtered -e '0 hosts up' changed_when: false failed_when: false register: monportstate