|
78 | 78 | include_role: |
79 | 79 | name: linux-system-roles.logging |
80 | 80 | public: true |
| 81 | + when: not __bootc_validation | d(false) |
| 82 | + |
| 83 | + # role does not run during bootc QEMU validation, thus some variables are undefined |
| 84 | + - name: Set __logging_is_booted for bootc validation tests |
| 85 | + set_fact: |
| 86 | + __logging_is_booted: true |
| 87 | + logging_manage_firewall: false |
| 88 | + logging_manage_selinux: false |
| 89 | + logging_tcp_ports: [] |
| 90 | + logging_udp_ports: [] |
| 91 | + logging_tls_tcp_ports: [] |
| 92 | + logging_tls_udp_ports: [] |
| 93 | + when: __bootc_validation | d(false) |
81 | 94 |
|
82 | 95 | # notify Restart rsyslogd is executed at the end of this test task. |
83 | 96 | # thus we have to force to invoke handlers |
84 | 97 | - name: "Force all notified handlers to run at this point, |
85 | 98 | not waiting for normal sync points" |
86 | 99 | meta: flush_handlers |
87 | 100 |
|
| 101 | + - name: Create QEMU deployment during bootc end-to-end test |
| 102 | + delegate_to: localhost |
| 103 | + command: "{{ lsr_scriptdir }}/bootc-buildah-qcow.sh {{ ansible_host }}" |
| 104 | + changed_when: true |
| 105 | + when: ansible_connection == "buildah" |
| 106 | + |
88 | 107 | - name: Ensure config file size and counts |
89 | 108 | vars: |
90 | 109 | __conf_count: 10 |
|
206 | 225 | name: linux-system-roles.logging |
207 | 226 | public: true |
208 | 227 |
|
| 228 | + # do just one image/verify cycle for the bootc end-to-end test |
| 229 | + - name: Skip remaining steps in bootc end-to-end validation |
| 230 | + meta: end_play |
| 231 | + when: __bootc_validation | d(false) |
| 232 | + |
209 | 233 | # notify Restart rsyslogd is executed at the end of this test task. |
210 | 234 | # thus we have to force to invoke handlers |
211 | 235 | - name: "Force all notified handlers to run at this point, |
|
0 commit comments