]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
copy certificates as root user
authorRishabh Dave <ridave@redhat.com>
Wed, 2 Jan 2019 11:34:49 +0000 (17:04 +0530)
committerSébastien Han <seb@redhat.com>
Thu, 3 Jan 2019 08:49:06 +0000 (09:49 +0100)
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>
roles/ceph-iscsi-gw/tasks/deploy_ssl_keys.yml

index ae3456818b021dd7874d03f1f2c3370987b27df1..b89dde99fac65b9a208b24f8d538259ad62fa8ef 100644 (file)
@@ -57,5 +57,6 @@
     owner: root
     group: root
     mode: 0400
+  become: true
   changed_when: false
   with_items: "{{ crt_files }}"