mirror of https://github.com/ceph/ceph-ansible.git
Ansible will include host_vars/ansible_hostname.yml itself, no need this task IMO.
parent
55725fd01d
commit
8602166f6e
|
@ -56,13 +56,6 @@
|
||||||
dev_ssds: []
|
dev_ssds: []
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: load a variable file for dev_ssds
|
|
||||||
include_vars: "{{ item }}"
|
|
||||||
with_first_found:
|
|
||||||
- files:
|
|
||||||
- "host_vars/{{ ansible_hostname }}.yml"
|
|
||||||
skip: true
|
|
||||||
|
|
||||||
- name: get osd(s) if directory stat
|
- name: get osd(s) if directory stat
|
||||||
stat:
|
stat:
|
||||||
path: "/var/lib/ceph/osd/ceph-{{ item.1.osd_id }}/journal_uuid"
|
path: "/var/lib/ceph/osd/ceph-{{ item.1.osd_id }}/journal_uuid"
|
||||||
|
|
Loading…
Reference in New Issue