Skip to content

Commit 6c2147b

Browse files
authored
Revert "Fail playbook execution if config failed to apply" (#496)
This reverts commit 969f773.
1 parent 969f773 commit 6c2147b

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

docs/playbooks/roles/common/tasks/apply-config.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,4 @@
1818
retries: 5
1919
delay: 10
2020
until: apply_deploy_config.rc == 0
21-
failed_when: true
22-
23-
- name: Fail if deploy configuration failed to apply
24-
fail:
25-
msg: >
26-
stderr is: {{ apply_deploy_config.stderr }}
27-
stdout is: {{ apply_deploy_config.stdout }}
28-
when: apply_deploy_config.rc != 0
21+
ignore_errors: true

docs/playbooks/roles/initial-config/tasks/main.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
block:
2828
- include_tasks:
2929
file: lock-unlock.yaml
30-
when: current_administrative_state == "locked"
3130

3231
- include_tasks:
3332
file: monitor-deployment.yaml

docs/playbooks/wind-river-cloud-platform-deployment-manager.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111

1212
- include_role:
1313
name: initial-config
14-
when:
15-
- not subcloud_enrollment
16-
- not scope_principal
14+
when: not initial_configuration_done
1715

1816
- include_role:
1917
name: reconfig

0 commit comments

Comments
 (0)