LoginSignup
1
1

More than 5 years have passed since last update.

Ansibleで深い階層にある配列を利用する方法が知りたい

Posted at

Ansibleで

vars:
  foo:
    bar: 
      - baz1
      - baz2

こういう設定があって、このbaz1baz2

- name: foo bar baz
  template: src={{ baz1 }} dest={{ baz1 }}

のように利用したい場合どうやって書けば良いのだろう

1
1
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1