]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
docker-common: remove check_mandatory_vars.yml
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 19 Oct 2018 14:51:38 +0000 (16:51 +0200)
committerSébastien Han <seb@redhat.com>
Mon, 12 Nov 2018 09:51:48 +0000 (10:51 +0100)
this is part of `ceph-validate` role.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-docker-common/tasks/check_mandatory_vars.yml [deleted file]
roles/ceph-docker-common/tasks/main.yml

diff --git a/roles/ceph-docker-common/tasks/check_mandatory_vars.yml b/roles/ceph-docker-common/tasks/check_mandatory_vars.yml
deleted file mode 100644 (file)
index 011433b..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
----
-- name: make sure monitor_interface, monitor_address or monitor_address_block is defined
-  fail:
-    msg: "you must set monitor_interface, monitor_address or monitor_address_block"
-  when:
-    - mon_group_name in group_names
-    - monitor_interface == 'interface'
-    - monitor_address == "0.0.0.0"
-    - monitor_address_block == 'subnet'
-
-- name: make sure radosgw_interface, radosgw_address or radosgw_address_block is defined
-  fail:
-    msg: "you must set radosgw_interface, radosgw_address or radosgw_address_block"
-  when:
-    - rgw_group_name in group_names
-    - radosgw_interface == 'interface'
-    - radosgw_address == 'address'
-    - radosgw_address_block == 'subnet'
index b4ab1eb8eeed8812c008bc644a157cdc6abddab1..3747c2aa8fcb9ee8b48738bf770c0753c9e6a1b1 100644 (file)
@@ -2,9 +2,6 @@
 - name: include system_checks.yml
   include_tasks: system_checks.yml
 
-- name: include check_mandatory_vars.yml
-  include_tasks: check_mandatory_vars.yml
-
 - name: include pre_requisites/prerequisites.yml
   include_tasks: pre_requisites/prerequisites.yml
   when: