AnsibleFilterError: Unrecognized type <<type 'unicode'>> for ipaddr filter <value> #347
-
Expected BehaviorTrying to deploy K3s with the Ansible playbook Current BehaviorGot an error " AnsibleFilterError: Unrecognized type <<type 'unicode'>> for ipaddr filter " on the "Copy vip manifest to first master" step. Steps to ReproduceContext (variables)Operating system:
Hardware: Variables Used
k3s_version: v1.25.9+k3s1
ansible_user: NA
systemd_dir: /etc/systemd/system
system_timezone: "Europe/Amsterdam"
flannel_iface: "eth0"
apiserver_endpoint: "192.168.40.200"
k3s_token: "NA"
extra_server_args: >-
{{ extra_args }}
{{ '--node-taint node-role.kubernetes.io/master=true:NoSchedule' if k3s_master_taint else '' }}
--tls-san {{ apiserver_endpoint }}
--disable servicelb
--disable traefik
--disable local-storage
extra_agent_args: >-
{{ extra_args }}
kube_vip_tag_version: "v0.5.12"
metal_lb_type: "native"
metal_lb_mode: "bgp"
metal_lb_speaker_tag_version: "v0.13.9"
metal_lb_controller_tag_version: "v0.13.9"
metal_lb_ip_range: "192.168.30.80-192.168.30.90" Hosts
[master]
192.168.40.201
192.168.40.202
192.168.40.203
[node]
192.168.40.204
192.168.40.205
192.168.40.206
[k3s_cluster:children]
master
node Possible SolutionTracked it down to the offending line https://github.com/techno-tim/k3s-ansible/blob/master/roles/k3s_server/templates/vip.yaml.j2#L38
|
Beta Was this translation helpful? Give feedback.
Answered by
timothystewart6
Aug 13, 2023
Replies: 1 comment 1 reply
-
This might be an ansible version issue? Did you get the first item in #20 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
timothystewart6
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This might be an ansible version issue? Did you get the first item in #20