AWS の public DNS に対して ansible を実行すると、us-east-1リージョンでは成功するのに、ap-southeast-1リージョンでは、ControlPath too long というエラーが発生するという現象に悩んでいた。 よくよく調べてみると、デフォルトが %(directory)s/ansible-ssh-%%h-%%p-%%r という設定になっていて、ap-southeast-1リージョン(*.ap-southeast-1.compute.amazonaws.com)のように長いホスト名だと108文字の限界を越えてしまうせいだった。 The path to use for the ControlPath sockets. This defaults to "%(directory)s/ansible-ssh-%%h-%%p-%%r", however o