http://qiita.com/pilot/items/98d464d5a4301baec19b の続き
parent.dig
_export:
!include : params/params1.dig
# サブディレクトリにないと"includes unknown keys"エラーになる
+task1:
_export:
!include : params/params2.dig
echo>: ${a} ${b} ${c} ${d}
+task2:
echo>: ${a} ${b}
# ${c} ${d}は"not defined"エラーになる
params/params1.dig
a: aaa
b: bbb
params/params2.dig
c: ccc
d: ddd
$ digdag run parent.dig
2017-02-08 10:29:21 +0900: Digdag v0.9.3
~略~
2017-02-08 10:29:29 +0900 [INFO] (0016@+parent+task1): echo>: aaa bbb ccc ddd
aaa bbb ccc ddd
2017-02-08 10:29:30 +0900 [INFO] (0016@+parent+task2): echo>: aaa bbb
aaa bbb