don't use "role" or "roles" to include roles

see 3f62fc585f

Signed-off-by: Noah Watkins <nwatkins@redhat.com>
pull/3309/head
Noah Watkins 2018-11-07 12:54:45 -08:00 committed by Sébastien Han
parent 9c47950961
commit b848d2be4c
1 changed files with 6 additions and 5 deletions

View File

@ -38,7 +38,8 @@
mon_group_name: mons mon_group_name: mons
osd_group_name: osds osd_group_name: osds
pre_tasks: tasks:
# pre-task for following import
- name: exit playbook, if user did not mean to shrink cluster - name: exit playbook, if user did not mean to shrink cluster
fail: fail:
msg: "Exiting shrink-osd playbook, no osd(s) was/were removed.. msg: "Exiting shrink-osd playbook, no osd(s) was/were removed..
@ -55,11 +56,11 @@
-e osd_to_kill=0,1,2,3 argument." -e osd_to_kill=0,1,2,3 argument."
when: osd_to_kill is not defined when: osd_to_kill is not defined
roles: - import_role:
- ceph-defaults name: ceph-defaults
private: false
post_tasks:
# post-task for preceding import
- name: set_fact docker_exec_cmd build docker exec command (containerized) - name: set_fact docker_exec_cmd build docker exec command (containerized)
set_fact: set_fact:
docker_exec_cmd: "docker exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_hostname'] }}" docker_exec_cmd: "docker exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_hostname'] }}"