Kaptain.
Telegram /
LinkedIn /
Email /
GIT /
RSS /
GPG /

№ 9131 В разделе
Sysadmin
от August 23rd, 2018,
В подшивках: Ansible
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 and ansible_distribution_release is a magic variables, defined after gathering facts about target host.
Fortune cookie: There was an old woman of Ghent Who swore that her cunt had no scent. She got fucked so often At last she got rotten, And didn't she stink when she spent.
Leave a Reply