k3s-ansible/roles
Stefan Haun e3fe7ec450
Fix condition evaluation on ansible_all_ipv6_addresses to have a Boolean result (#404)
The condition `when: ansible_all_ipv6_addresses` evaluates to a list, which in
term evaluates to True,  but it seems that more recent Ansible versions do not
accept that anymore:

```
Conditional result was "['fe80::...']" of type 'list', which evaluates to True. Conditionals must have a boolean result.
```

This commit adds a length check to create a real Boolean result.

Signed-off-by: Stefan Haun <mail@tuxathome.de>
2025-04-18 09:07:40 -07:00
..
airgap/tasks fix: make the roles work even when hosts are aliased in the inventory (#399) 2025-03-27 09:28:16 -07:00
k3s_agent improve check mode support, allow for agent config yaml, restart service if config changed (#388) 2025-01-28 09:15:09 -08:00
k3s_server fix: make the roles work even when hosts are aliased in the inventory (#399) 2025-03-27 09:28:16 -07:00
k3s_upgrade feat: add check_mode false to run upgrade tests (#402) 2025-04-18 09:07:05 -07:00
prereq Fix condition evaluation on ansible_all_ipv6_addresses to have a Boolean result (#404) 2025-04-18 09:07:40 -07:00
raspberrypi Handle both new and old cmdline.txt locations in Raspbian (#362) 2024-09-13 10:49:53 -07:00