copy certificates as root user

Since the current user on the controller node, might not have the
permission to read the TLS certificate and related files, copy these
files to the Ceph nodes as root user.

Fixes: https://github.com/ceph/ceph-ansible/issues/3465
Signed-off-by: Rishabh Dave <ridave@redhat.com>
pull/3473/head
Rishabh Dave 2019-01-02 17:04:49 +05:30 committed by Sébastien Han
parent 268f2cef82
commit a14bfa282a
1 changed files with 1 additions and 0 deletions

View File

@ -57,5 +57,6 @@
owner: root owner: root
group: root group: root
mode: 0400 mode: 0400
become: true
changed_when: false changed_when: false
with_items: "{{ crt_files }}" with_items: "{{ crt_files }}"