概要 ・ansible で始めるインフラ自動化 https://www.slideshare.net/dcubeio/ansible-72056386 設定方法 1:ansibleクライアント、サーバ共に下記実施。 $ sudo apt-get update $ sudo apt-get install -y python-dev python-pip $ sudo pip install ansible 2:ansibleサーバ側で、ssh用のコンフィグ設定。クライアント側は、AzureでVM作る時に、公開鍵設定済。これで、ssh IPアドレス でログイン可能。 3:ansibleサーバ側のanbible.cfgに、秘密鍵のpathを設定(private_key_file) 3をやるなら、2は不要。 4:ansibleサーバ側の、/etc/hostsにvncとxrdpのIPアドレス設定