cluster networking operational

This commit is contained in:
2022-11-01 22:13:56 +13:00
parent a60c397d1b
commit 6020b9771c
8 changed files with 168 additions and 14 deletions

View File

@ -1,8 +1,6 @@
---
- name: debug hostname
ansible.builtin.debug:
msg:
- "{{ hostvars[groups['k8s_control'][0]]['ansible_host'] }}"
- "{{ ansible_host }}"
# ['hosts'][0]
ansible.builtin.lineinfile:
line: 192.168.199.240 k8s.balsillie.net
insertafter: EOF
path: /etc/hosts