瀏覽代碼

added note about any_errors_fatal for ansible.cfg

Tzu-Mainn Chen 7 年之前
父節點
當前提交
bb20e09819
共有 1 個文件被更改,包括 10 次插入1 次删除
  1. 10 1
      playbooks/openstack/README.md

+ 10 - 1
playbooks/openstack/README.md

@@ -180,7 +180,16 @@ copy it to the directory you're going to run `ansible-playbook` from.
 $ cp openshift-ansible/ansible.cfg ansible.cfg
 ```
 
-Then run the provision + install playbook -- this will create the OpenStack
+We recommend adding an additional option:
+
+```cfg
+any_errors_fatal = true
+```
+
+This will abort the Ansible playbook execution as soon as any error is
+encountered.
+
+Now, run the provision + install playbook -- this will create the OpenStack
 resources:
 
 ```bash