Commit 5ff2ca27 authored by Guillaume Abrioux's avatar Guillaume Abrioux
Browse files

mon: replace `command` task by `copy`



We can achieve this task using `copy` module.
Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
parent 40a87c4b
......@@ -50,10 +50,10 @@
CEPH_CONTAINER_BINARY: "{{ container_binary }}"
- name: copy the initial key in /etc/ceph (for containers)
command: >
cp /var/lib/ceph/tmp/{{ cluster }}.mon..keyring
/etc/ceph/{{ cluster }}.mon.keyring
changed_when: false
copy:
src: /var/lib/ceph/tmp/{{ cluster }}.mon..keyring
dest: /etc/ceph/{{ cluster }}.mon.keyring
remote_src: true
when: containerized_deployment | bool
- name: create monitor directory
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment