Enable Ansible error handling per role

Enable Ansible group_yar options to be set per TripleO role.
Initially supporting any_errors_fatal and max_fail_percentage
this change provides a structure by which future per-role Ansible
options can readily be added to group_vars.

Change-Id: I6792bccbd090b04d63bcef07bdb936a9685864c5
Closes-Bug: 1760989
Depends-On: I47954717f42f14bae8d9fd2bd17cd8ea1fd787b3
This commit is contained in:
Jill Rouleau
2018-06-19 19:50:31 -07:00
parent bd71949bc5
commit 1be8eb8588
5 changed files with 43 additions and 4 deletions

View File

@@ -5,3 +5,6 @@ Controller_pre_deployments:
- MyExtraConfigPost
Controller_post_deployments: []
max_fail_percentage: 15
any_errors_fatal: yes