summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/ceph-openstack/tasks
diff options
context:
space:
mode:
authorliyuenan <liyuenan@huawei.com>2017-01-11 14:26:41 +0800
committerYuenan Li <liyuenan@huawei.com>2017-01-12 02:11:12 +0000
commit975480478b0b207656881232470461053694c609 (patch)
treea76efbfc2d00281574652b436fe4740ec1fd26f8 /deploy/adapters/ansible/roles/ceph-openstack/tasks
parentcec54463608e42cf2cbd746a4078ecc8af2c22da (diff)
FIX Ceph user error
The command of create ceph user for openstack is destroied in Yamllint patch. There is a error in the roles/ceph-openstack/tasks/ceph-openstack-pre.yml. It should not change a line between the quotations. JIRA: - Change-Id: I5347e8bfde129855c28cb5313b8367f4edb065ca Signed-off-by: liyuenan <liyuenan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/ceph-openstack/tasks')
-rwxr-xr-xdeploy/adapters/ansible/roles/ceph-openstack/tasks/ceph_openstack_pre.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/ceph-openstack/tasks/ceph_openstack_pre.yml b/deploy/adapters/ansible/roles/ceph-openstack/tasks/ceph_openstack_pre.yml
index 3ff9df48..a9eb81af 100755
--- a/deploy/adapters/ansible/roles/ceph-openstack/tasks/ceph_openstack_pre.yml
+++ b/deploy/adapters/ansible/roles/ceph-openstack/tasks/ceph_openstack_pre.yml
@@ -61,14 +61,15 @@
- vms
when: inventory_hostname in groups['ceph_adm']
+# yamllint disable rule:line-length
- name: create ceph users for openstack
shell: |
ceph auth get-or-create client.cinder mon 'allow r' osd \
- 'allow class-read object_prefix rbd_children, allow rwx pool=volumes, \
- allow rwx pool=vms, allow rx pool=images';
+ 'allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rwx pool=vms, allow rx pool=images';
ceph auth get-or-create client.glance mon 'allow r' osd \
'allow class-read object_prefix rbd_children, allow rwx pool=images';
when: inventory_hostname in groups['ceph_adm']
+# yamllint enable rule:line-length
- name: send glance key to controller nodes
shell: |