№ 9131 В разделе "Администрирование" от August 23rd, 2018,
Variable kube_resolv_conf was defined as default value, but in deploying process you need to change it depend on your OS.
- name: Check OS type and version before resolv.conf location definition set_fact: kube_resolv_conf: '/run/systemd/resolve/resolv.conf' when: ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'bionic'
ansible_distribution_release is a magic variables, defined after gathering facts about target host.
Fortune cookie: The notorious Duchess of Peels Saw a fisherman fishing for eels. Said she, "Would you mind? -- Shove one up my behind. I am anxious to know how it feels."