mirror of https://github.com/ceph/ceph-ansible.git
don't use "role" or "roles" to include roles
see 3f62fc585f
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
pull/3309/head
parent
9c47950961
commit
b848d2be4c
|
@ -38,7 +38,8 @@
|
|||
mon_group_name: mons
|
||||
osd_group_name: osds
|
||||
|
||||
pre_tasks:
|
||||
tasks:
|
||||
# pre-task for following import
|
||||
- name: exit playbook, if user did not mean to shrink cluster
|
||||
fail:
|
||||
msg: "Exiting shrink-osd playbook, no osd(s) was/were removed..
|
||||
|
@ -55,11 +56,11 @@
|
|||
-e osd_to_kill=0,1,2,3 argument."
|
||||
when: osd_to_kill is not defined
|
||||
|
||||
roles:
|
||||
- ceph-defaults
|
||||
|
||||
post_tasks:
|
||||
- import_role:
|
||||
name: ceph-defaults
|
||||
private: false
|
||||
|
||||
# post-task for preceding import
|
||||
- name: set_fact docker_exec_cmd build docker exec command (containerized)
|
||||
set_fact:
|
||||
docker_exec_cmd: "docker exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_hostname'] }}"
|
||||
|
|
Loading…
Reference in New Issue