From 19d8e0c1ced57141a01b6e975e80d7536da53b21 Mon Sep 17 00:00:00 2001 From: Jim Curtis Date: Tue, 26 Apr 2016 16:34:57 -0700 Subject: [PATCH] docker: Fix ordering of rgw docker tasks so directory is created befor fetch --- roles/ceph-rgw/tasks/docker/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/ceph-rgw/tasks/docker/main.yml b/roles/ceph-rgw/tasks/docker/main.yml index 11b85d558..7769b2a16 100644 --- a/roles/ceph-rgw/tasks/docker/main.yml +++ b/roles/ceph-rgw/tasks/docker/main.yml @@ -9,8 +9,10 @@ when: ceph_health.rc != 0 - include: pre_requisite.yml -- include: fetch_configs.yml - include: dirs_permissions.yml +# NOTE (jimcurtis): dirs_permissions.yml must precede fetch_configs.yml +# because it creates the directories needed by the latter. +- include: fetch_configs.yml - include: selinux.yml when: ansible_os_family == 'RedHat'