From 07a8c47f330c9eb558c058c2b999733a29c6fbad Mon Sep 17 00:00:00 2001 From: Eduardo Gonzalez Date: Thu, 9 Mar 2017 16:54:30 +0000 Subject: [PATCH] Fix typo in nova external ceph Nova external ceph task have a type which break deployment. State module not present, the module used should be stat. Change-Id: Ie8a0b30f44fc35a597334383a85353d324e765cd Closes-Bug: #1671526 --- ansible/roles/nova/tasks/external-ceph.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/nova/tasks/external-ceph.yml b/ansible/roles/nova/tasks/external-ceph.yml index 4aa966a370..5e3749508f 100644 --- a/ansible/roles/nova/tasks/external-ceph.yml +++ b/ansible/roles/nova/tasks/external-ceph.yml @@ -14,7 +14,7 @@ failed_when: not nova_cephx_keyring_file.stat.exists - name: Check cinder keyring file - local_action: state path="{{ node_custom_config }}/nova/ceph.client.cinder.keyring" + local_action: stat path="{{ node_custom_config }}/nova/ceph.client.cinder.keyring" register: cinder_cephx_keyring_file failed_when: not cinder_cephx_keyring_file.stat.exists when: cinder_backend_ceph | bool