From: Rishabh Dave Date: Wed, 2 Jan 2019 11:34:49 +0000 (+0530) Subject: copy certificates as root user X-Git-Tag: v4.0.0beta1~83 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a14bfa282ae39cc570a66d4eeb41ce0a21356397;p=ceph-ansible.git 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 --- diff --git a/roles/ceph-iscsi-gw/tasks/deploy_ssl_keys.yml b/roles/ceph-iscsi-gw/tasks/deploy_ssl_keys.yml index ae3456818..b89dde99f 100644 --- a/roles/ceph-iscsi-gw/tasks/deploy_ssl_keys.yml +++ b/roles/ceph-iscsi-gw/tasks/deploy_ssl_keys.yml @@ -57,5 +57,6 @@ owner: root group: root mode: 0400 + become: true changed_when: false with_items: "{{ crt_files }}"