Skip to content
Snippets Groups Projects
Commit 5045c8ad authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

better syntax

parent 78f57418
No related branches found
No related tags found
No related merge requests found
......@@ -26,10 +26,10 @@
- name: create rbd image
when:
- ceph_check_image.changed
- ceph_check_image is changed
- inventory_hostname == play_hosts[0]
command:
cmd: rbd -n client.{{ ceph_login }} create {{ ceph_pool_name }}/{{ ceph_image_name }} {% for param in ceph_parameters %}{{ param }} {% endfor %}
cmd: rbd -n client.{{ ceph_login }} create {{ ceph_pool_name }}/{{ ceph_image_name }} {{ ceph_parameters | join(' ') }}
- name: map rbd image to device
command:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment