diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2026-01-07 11:10:37 +0100 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2026-01-09 08:34:19 +0000 |
| commit | c8ea844b2b31cfc0446b6174e6b033a4036b9750 (patch) | |
| tree | 29d2ef8215f7b7b5a426ff6e34bfdcc160bcd542 /roles/kolla-ansible-tempest | |
| parent | 7d89d6afbef6fcb352c30f9fe04a72fbeca1f18f (diff) | |
| download | kolla-ansible-c8ea844b2b31cfc0446b6174e6b033a4036b9750.tar.gz kolla-ansible-c8ea844b2b31cfc0446b6174e6b033a4036b9750.zip | |
ansible-lint: Rework validate-all-file into custom rules
Test roles/ subdirectories as well (used by Zuul)
In addition to that container_exec_become will also
fail when "docker exec" or "podman exec" will be used
instead of "{{ kolla_container_engine }} exec"
Generated-By: Claude
Change-Id: I75c1e48c36bb0284e2927b1cb354ce9ec47967d7
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
Diffstat (limited to 'roles/kolla-ansible-tempest')
| -rw-r--r-- | roles/kolla-ansible-tempest/tasks/main.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/roles/kolla-ansible-tempest/tasks/main.yml b/roles/kolla-ansible-tempest/tasks/main.yml index 5476b1183..315c33213 100644 --- a/roles/kolla-ansible-tempest/tasks/main.yml +++ b/roles/kolla-ansible-tempest/tasks/main.yml @@ -14,6 +14,8 @@ creates: "/home/zuul/tempest" - name: Discover tempest config + environment: + OS_CLIENT_CONFIG_FILE: "/etc/kolla/clouds.yaml" vars: ver: "{{ kolla_ansible_tempest_cirros_ver }}" image: "https://download.cirros-cloud.net/{{ ver }}/cirros-{{ ver }}-x86_64-disk.img" @@ -26,8 +28,7 @@ --os-cloud kolla-admin compute.build_timeout {{ kolla_ansible_tempest_build_timeout }} >/tmp/logs/ansible/test-init-tempest-discover 2>&1 - environment: - OS_CLIENT_CONFIG_FILE: "/etc/kolla/clouds.yaml" + changed_when: false - name: Run tempest tests environment: @@ -49,3 +50,4 @@ --exclude-regex '{{ kolla_ansible_tempest_exclude_regex | join("|") }}' {% endif %} >/tmp/logs/ansible/{{ tempest_log_file }} 2>&1 + changed_when: true |
