回答編集履歴

1

Fix answer

2020/07/29 07:31

投稿

y_shinoda
y_shinoda

スコア3272

test CHANGED
@@ -1,3 +1,21 @@
1
+ ## 修正
2
+
3
+
4
+
5
+ 次の記法で実現できそうです:
6
+
7
+
8
+
9
+ [with_nested/with_cartesian | Loops — Ansible Documentation](https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html#with-nested-with-cartesian)
10
+
11
+ [cartesian – returns the cartesian product of lists — Ansible Documentation](https://docs.ansible.com/ansible/latest/plugins/lookup/cartesian.html)
12
+
13
+
14
+
15
+ ## 元の回答
16
+
17
+
18
+
1
19
  次のどちらかで実現できそうです:
2
20
 
3
21