ceph-ansible/roles/ceph-iscsi-gw
Guillaume Abrioux 6200f90ab2 iscsi: fix permission denied error
Typical error:
```
fatal: [iscsi-gw0]: FAILED! =>
  msg: 'an error occurred while trying to read the file ''/home/guits/ceph-ansible/tests/functional/all_daemons/fetch/e5f4ab94-c099-4781-b592-dbd440a9d6f3/iscsi-gateway.key'': [Errno 13] Permission denied: b''/home/guits/ceph-ansible/tests/functional/all_daemons/fetch/e5f4ab94-c099-4781-b592-dbd440a9d6f3/iscsi-gateway.key'''
```

`become: True` is not needed on the following task:

`copy crt file(s) to gateway nodes`.

Since it's already set in the main playbook (site.yml/site-container.yml)

The thing is that the files get generated in the 'fetch_directory' with
root user because there is a 'delegate_to' + we run the playbook with
`become: True` (from main playbook).

The idea here is to create files under ansible user so we can open them
later to copy them on the remote machine.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 9d590f4339)
2019-02-11 16:17:44 +00:00
..
defaults refact osd pool size customization 2018-11-29 01:49:05 +00:00
library igw: add support for IPv6 2018-11-13 17:35:58 +00:00
meta resync ceph-iscsi-gw with old upstream 2017-09-12 18:06:10 -06:00
tasks iscsi: fix permission denied error 2019-02-11 16:17:44 +00:00
templates iscsi: fix networking issue on containerized env 2018-10-19 00:12:43 +00:00
LICENSE resync ceph-iscsi-gw with old upstream 2017-09-12 18:06:10 -06:00
README resync ceph-iscsi-gw with old upstream 2017-09-12 18:06:10 -06:00
README.md Cleanup readme files in roles directories 2017-10-17 11:22:06 +02:00
ceph-iscsi-ansible.spec resync ceph-iscsi-gw with old upstream 2017-09-12 18:06:10 -06:00

README.md

Ansible role: ceph-iscsi

Documentation is available at http://docs.ceph.com/ceph-ansible/.