From dcf448ec811dc53523b03752aa9a52c53ea15ae7 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Tue, 8 Jan 2019 21:12:36 +0000 Subject: [PATCH] Call ceph-facts role as required by changes to ceph-ansible Change-Id: I1380cd86e7d7cbdf8073ff263b004cafc4d6c0ec --- playbooks/ceph-install.yml | 6 ++++++ playbooks/ceph-rgw-install.yml | 3 +++ tests/roles/bootstrap-host/tasks/prepare_ceph.yml | 6 ++++++ 3 files changed, 15 insertions(+) diff --git a/playbooks/ceph-install.yml b/playbooks/ceph-install.yml index df1502f4b3..468238a992 100644 --- a/playbooks/ceph-install.yml +++ b/playbooks/ceph-install.yml @@ -58,6 +58,9 @@ - role: ceph-defaults tags: - skip_ansible_lint + - role: ceph-facts + tags: + - skip_ansible_lint - role: ceph-handler tags: - skip_ansible_lint @@ -126,6 +129,9 @@ - role: ceph-defaults tags: - skip_ansible_lint + - role: ceph-facts + tags: + - skip_ansible_lint - role: ceph-handler tags: - skip_ansible_lint diff --git a/playbooks/ceph-rgw-install.yml b/playbooks/ceph-rgw-install.yml index f58f91bebf..79cff15c53 100644 --- a/playbooks/ceph-rgw-install.yml +++ b/playbooks/ceph-rgw-install.yml @@ -40,6 +40,9 @@ - role: ceph-defaults tags: - skip_ansible_lint + - role: ceph-facts + tags: + - skip_ansible_lint - role: ceph-handler tags: - skip_ansible_lint diff --git a/tests/roles/bootstrap-host/tasks/prepare_ceph.yml b/tests/roles/bootstrap-host/tasks/prepare_ceph.yml index dd35070162..800b1ba617 100644 --- a/tests/roles/bootstrap-host/tasks/prepare_ceph.yml +++ b/tests/roles/bootstrap-host/tasks/prepare_ceph.yml @@ -57,6 +57,12 @@ tags: - skip_ansible_lint +- name: Set permissions on loopback devices + file: + path: "{{ item.stdout }}" + mode: "0777" + with_items: "{{ ceph_create_loopback.results }}" + # TODO(logan): Move these vars to user_variables.ceph.yml.j2 once LP #1649381 # is fixed and eliminate this task. - name: Write ceph cluster config