Commit 0440589
Fail playbook execution if config failed to apply
This commit updates the Ansible playbook to fail if the deployment
configuration failed to apply. Additionally, it resolves a playbook
replay issue by attempting to unlock only when the host is in a
locked state.
Test Plan:
- PASS: deploy a SX subcloud
- PASS: replay the deployment configuration
Failure Path:
- PASS: playbook fails with invalid config file
Signed-off-by: Wallysson Silva <wallysson.silva@windriver.com>1 parent 6c2147b commit 0440589
File tree
3 files changed
+12
-2
lines changed- docs/playbooks
- roles
- common/tasks
- initial-config/tasks
3 files changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
0 commit comments