Skip to content

Commit

Permalink
ceph-volume: update deploy.yml
Browse files Browse the repository at this point in the history
update deploy.yml accordingly with recent changes in ceph-ansible.

Fixes: ceph/ceph-ansible#3602

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
  • Loading branch information
guits committed Feb 13, 2019
1 parent b8fe155 commit da13da6
Showing 1 changed file with 25 additions and 10 deletions.
35 changes: 25 additions & 10 deletions src/ceph-volume/ceph_volume/tests/functional/playbooks/deploy.yml
Expand Up @@ -63,9 +63,20 @@
- ansible_distribution == 'Fedora'
- ansible_distribution_major_version|int >= 23

roles:
- ceph-defaults
- ceph-validate
- name: check if it is atomic host
stat:
path: /run/ostree-booted
register: stat_ostree

- name: set_fact is_atomic
set_fact:
is_atomic: '{{ stat_ostree.stat.exists }}'

tasks:
- import_role:
name: ceph-defaults
- import_role:
name: ceph-validate

- hosts:
- mons
Expand All @@ -74,15 +85,19 @@
gather_facts: false
become: True
any_errors_fatal: true
roles:
- ceph-defaults
- ceph-facts
- ceph-handler
- ceph-common
tasks:
- import_role:
name: ceph-defaults
- import_role:
name: ceph-facts
- import_role:
name: ceph-handler
- import_role:
name: ceph-common

- name: rsync ceph-volume to test nodes on centos
synchronize:
src: "{{ toxinidir}}/../../../../ceph_volume"
src: "{{ toxinidir }}/../../../../ceph_volume"
dest: "/usr/lib/python2.7/site-packages"
use_ssh_args: true
when:
Expand All @@ -91,7 +106,7 @@

- name: rsync ceph-volume to test nodes on ubuntu
synchronize:
src: "{{ toxinidir}}/../../../../ceph_volume"
src: "{{ toxinidir }}/../../../../ceph_volume"
dest: "/usr/lib/python2.7/dist-packages"
use_ssh_args: true
when:
Expand Down

0 comments on commit da13da6

Please sign in to comment.