"Fossies" - the Fresh Open Source Software Archive

Member "nova-22.0.1/playbooks/ceph/glance-copy-policy.yaml" (19 Nov 2020, 526 Bytes) of package /linux/misc/openstack/nova-22.0.1.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "glance-copy-policy.yaml": 22.0.0_vs_22.0.1.

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