Commit b3f3d9e
committed
Remove Jinja from when statement
This change adresses a problem reported by ansible-lint that
the when statement contains Jinja expressions. This affects
Ansible remediations of rules using the grub2_bootloader_argument
template if the rule is parametrized by a variable. For example,
rule grub2_l1tf_argument is affected by this problem.
Addressing:
```
no-jinja-when: No Jinja2 in when.
```1 parent da027a3 commit b3f3d9e
2 files changed
Lines changed: 8 additions & 3 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1479 | 1479 | | |
1480 | 1480 | | |
1481 | 1481 | | |
| 1482 | + | |
| 1483 | + | |
1482 | 1484 | | |
1483 | 1485 | | |
1484 | | - | |
| 1486 | + | |
1485 | 1487 | | |
1486 | 1488 | | |
1487 | 1489 | | |
| |||
1541 | 1543 | | |
1542 | 1544 | | |
1543 | 1545 | | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
1544 | 1549 | | |
| 1550 | + | |
1545 | 1551 | | |
1546 | 1552 | | |
1547 | 1553 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
0 commit comments