summaryrefslogtreecommitdiff
path: root/playbooks
diff options
context:
space:
mode:
authorDan Smith <dansmith@redhat.com>2021-03-10 07:35:24 -0800
committerDan Smith <dansmith@redhat.com>2021-03-10 07:35:24 -0800
commit46704f77026fdd4425a3ab7a35d8584e59be11cc (patch)
tree0332b2aa05bec820e24dbddd44a5f63648c21e5b /playbooks
parentab07507e5cfce6232fef373d07ff92ea704541da (diff)
downloadnova-46704f77026fdd4425a3ab7a35d8584e59be11cc.tar.gz
Make nova-ceph-multistore use policy.yaml
This changes our tweak of glance policy to use the new yaml format instead of json. Glance needs to tweak this file too in some jobs, and it's easier to do that in two places if the more modern yaml format is used. Change-Id: I4d4263987719d4885f114931130a71877f25d21e Related-Bug: #1916926
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/ceph/glance-copy-policy.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/ceph/glance-copy-policy.yaml b/playbooks/ceph/glance-copy-policy.yaml
index fc0244c71e..41654a103d 100644
--- a/playbooks/ceph/glance-copy-policy.yaml
+++ b/playbooks/ceph/glance-copy-policy.yaml
@@ -11,5 +11,5 @@
# 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
+ echo $'"copy_image": ""' >> /etc/glance/policy.yaml
sudo systemctl restart 'devstack@g-*'