ローカルへの疎通確認
localhost はインベントリに何も設定されていない場合に暗黙で対象になっている。
一方、インベントリに何か設定されている場合は、意図的に書かなければならない。→
ローカルを管理対象ノードにする
code:console
# ansible -m ping localhost
WARNING
: No inventory was parsed, only implicit localhost is available
localhost | SUCCESS => {
"changed": false,
"ping": "pong"
}