]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
common: move mandatory variables to their respective roles
authorSébastien Han <seb@redhat.com>
Fri, 9 Dec 2016 13:45:05 +0000 (14:45 +0100)
committerSébastien Han <seb@redhat.com>
Fri, 9 Dec 2016 13:45:05 +0000 (14:45 +0100)
Signed-off-by: Sébastien Han <seb@redhat.com>
tasks/checks/check_mandatory_vars.yml

index aa3ecd93052804baa5655ca214dd5b928cf1f9cf..b5d745c8182bbd72b4e82092c544a205049ee126 100644 (file)
     - ceph_origin == "upstream"
   tags:
     - package-install
-
-- name: make sure monitor_interface or monitor_address or monitor_address_block is configured
-  fail:
-    msg: "Either monitor_interface, monitor_address, or monitor_address_block must be configured. Interface for the monitor to listen on or IP address of that interface"
-  when:
-    - monitor_interface == 'interface'
-    - monitor_address == '0.0.0.0'
-    - not monitor_address_block
-    - mon_group_name in group_names
-
-- name: make sure cluster_network configured
-  fail:
-    msg: "cluster_network must be configured. Ceph replication network"
-  when:
-    - cluster_network == '0.0.0.0/0'
-    - osd_group_name in group_names
-
-- name: make sure public_network configured
-  fail:
-    msg: "public_network must be configured. Ceph public network"
-  when:
-    - public_network == '0.0.0.0/0'
-    - osd_group_name in group_names