티스토리 뷰

공부

[yaml] anchors and aliases

승가비 2023. 8. 12. 14:31
728x90
variables:
  openstack-origin:    &openstack-origin     cloud:bionic-stein
  osd-devices:         &osd-devices          /dev/sdb /dev/vdb
.
.
.
applications:
  ceph-osd:
    charm: ceph-osd
    num_units: 3
    options:
      osd-devices: *osd-devices
      source: *openstack-origin
    to:
    - '1'
    - '2'
    - '3'
.
.
.

https://juju.is/docs/sdk/yaml-anchors-and-aliases

 

https://juju.is/docs/sdk/yaml-anchors-and-aliases

 

juju.is

 

728x90
댓글