- hosts: controller
  tasks:
    - name: create local.sh
      become: yes
      blockinfile:
        path: /opt/stack/devstack/local.sh
        create: True
        mode: 0777
        block: |
          echo $'{"copy_image": "\'public\':%(visibility)s"}' > /etc/glance/policy.json

- hosts: controller
  tasks:
    - name: create local.sh
      become: yes
      blockinfile:
        path: /opt/stack/devstack/local.sh
        create: True
        mode: 0777
        block: |
          # This policy is default to admin only in glance. Override
          # here to allow everyone and every type of image (private
          # or public) to copy. This way we will be able to test copy
          # image via non-admin as well as on private images.
          echo $'{"copy_image": ""}' > /etc/glance/policy.json

Modify glance's copy_image permission for nova-ceph-multistore
Modify glance's copy_image permission for nova-ceph-multistore

nova-ceph-multistore setup needs non-admin users to copy the image.
To allow that glance's policy was overriden to allow public
images to copy. This restriction again can cause issue if there
is any new copy image tempest test try to copy private image with
admin users.
- https://review.opendev.org/#/c/742546/

Let's allow everyone to copy every image to make it work
for all type of test credentials.

Change-Id: Ia65afdfb8989909441dba55faeed2d78cc7f1ee7
