Ansible構成管理入門 はじめようInfrastructure as Code

サポートページ

お詫びと訂正(正誤表)

本書の以下の部分に誤りがありました。ここに訂正するとともに,ご迷惑をおかけしたことを深くお詫び申し上げます。

(2017年4月12日最終更新)

P.34
・ansible.cfg


[defaults]
inventory = hosts
remote_user = ubuntu
host_key_checking = False
private_key_file= .vagrant/machines/{{ inventory_hostname }}/virtualbox/private_key

[privilege_escalation]
become = True


[defaults]
inventory = hosts
remote_user = ubuntu
host_key_checking = False
private_key_file= .vagrant/machines/{{ inventory_hostname }}/virtualbox/private_key
roles_path = ./roles

[privilege_escalation]
become = True

書籍のリポジトリ(https://github.com/kota-row/ansible-practice)と同じディレクトリ構成にする場合,「roles_path = ./roles」の指定がないとPlaybookが動作しません。