mirror of https://github.com/ceph/ceph-ansible.git
update: use tasks_from when including ceph-facts
When setting/unsetting osd flags, we can use `tasks_from` when importing `ceph-facts` role to save some times given that we only need this role for setting `container_binary` Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/5262/head
parent
6617d90733
commit
6df7887f87
|
@ -356,6 +356,7 @@
|
|||
name: ceph-defaults
|
||||
- import_role:
|
||||
name: ceph-facts
|
||||
tasks_from: container_binary.yml
|
||||
|
||||
- name: set osd flags
|
||||
command: "{{ container_exec_cmd | default('') }} ceph --cluster {{ cluster }} osd set {{ item }}"
|
||||
|
@ -488,6 +489,7 @@
|
|||
name: ceph-defaults
|
||||
- import_role:
|
||||
name: ceph-facts
|
||||
tasks_from: container_binary.yml
|
||||
|
||||
- name: set_fact container_exec_cmd_osd
|
||||
set_fact:
|
||||
|
|
Loading…
Reference in New Issue