Commit 7e879c6
committed
Fix ansible-lint CI: add vault password and changed_when
Add ANSIBLE_VAULT_PASSWORD_FILE env var to the GitHub Action so
ansible-lint can parse vault-encrypted secret.yaml.
Add missing changed_when: true to two tasks in
get_openshift_release_binaries.yml that modify state (extract pull
secret, extract OCP tools) to fix no-changed-when violations.
Ref: OSPRH-32049
Change-Id: Id34425370a73e003b0fa1160105713ed8691c6cd
Signed-off-by: Itay Matza <imatza@redhat.com>1 parent b592a8b commit 7e879c6
2 files changed
Lines changed: 4 additions & 0 deletions
File tree
- .github/workflows
- collection/tools/roles/tools_get_openshift_release/tasks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| |||
0 commit comments