blob: 41654a103d23eba2e463a05f300b12cec86aad96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
- 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.yaml
sudo systemctl restart 'devstack@g-*'
|