回答編集履歴
1
参照すべきドキュメントを記載
test
CHANGED
@@ -1 +1,5 @@
|
|
1
1
|
`hosts: web[0]`とすれば良いです。
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
http://docs.ansible.com/ansible/intro_patterns.html の「You can refer to hosts within the group by adding a subscript to the group name:」の下に書かれています。
|