Merge pull request #1973 from ceph/refact_ceph-defaults

defaults: change running order in main.yml
pull/1966/merge
Sébastien Han 2017-10-03 11:58:35 +02:00 committed by GitHub
commit 91e2a0b4f4
2 changed files with 4 additions and 10 deletions

View File

@ -15,7 +15,7 @@
# because it blindly picks a mon, which may be down because
# of the rolling update
- name: is ceph running already?
command: ceph --connect-timeout 3 --cluster {{ cluster }} fsid
command: "{{ docker_exec_cmd }} ceph --connect-timeout 3 --cluster {{ cluster }} fsid"
changed_when: false
failed_when: false
always_run: yes
@ -92,12 +92,6 @@
when:
- generate_fsid
- name: set_fact docker_exec_cmd
set_fact:
docker_exec_cmd: "docker exec ceph-mon-{{ ansible_hostname }}"
when:
- containerized_deployment
- name: set_fact mds_name ansible_hostname
set_fact:
mds_name: "{{ ansible_hostname }}"

View File

@ -1,6 +1,6 @@
---
- name: include facts.yml
include: facts.yml
- name: include check_socket.yml
include: check_socket.yml
- name: include facts.yml
include: facts.yml