Skip to content

Commit b0e4977

Browse files
committed
bugfix: when syntax
Signed-off-by: Matthias Büchse <[email protected]>
1 parent a9dde5a commit b0e4977

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

playbooks/post_cloud.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
cmd: python3 Tests/scs-test-runner.py --config Tests/config.toml --debug cleanup --preset {{ preset }}
88
chdir: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}"
99
changed_when: true
10-
when: '{{ do_cleanup }}'
10+
when: do_cleanup
1111

1212
- name: Unprovision clusters
1313
ansible.builtin.command:
1414
cmd: python3 Tests/scs-test-runner.py --config Tests/config.toml --debug unprovision --preset {{ preset }}
1515
chdir: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}"
1616
changed_when: true
17-
when: '{{ do_provision }}'
17+
when: do_provision

playbooks/pre_cloud.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
# ansible.builtin.pip:
99
# chdir: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}"
1010
# requirements: "Tests/iaas/requirements.txt"
11-
# when: '{{ iaas }}'
11+
# when: iaas
1212

1313
- name: Install kaas dependencies
1414
ansible.builtin.pip:
1515
chdir: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}"
1616
requirements: "Tests/kaas/requirements.txt"
17-
when: '{{ kaas }}'
17+
when: kaas
1818

1919
- name: Create cloud config dir
2020
ansible.builtin.file:
@@ -69,11 +69,11 @@
6969
cmd: python3 Tests/scs-test-runner.py --config Tests/config.toml --debug cleanup --preset {{ preset }}
7070
chdir: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}"
7171
changed_when: true
72-
when: '{{ do_cleanup }}'
72+
when: do_cleanup
7373

7474
- name: Provision necessary clusters
7575
ansible.builtin.command:
7676
cmd: python3 Tests/scs-test-runner.py --config Tests/config.toml --debug provision --preset {{ preset }}
7777
chdir: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}"
7878
changed_when: true
79-
when: '{{ do_provision }}'
79+
when: do_provision

0 commit comments

Comments
 (0)