control plane stand up working

This commit is contained in:
2022-11-01 02:56:41 +13:00
parent 37da64cacf
commit a60c397d1b
5 changed files with 105 additions and 16 deletions

View File

@ -0,0 +1,8 @@
---
- name: debug hostname
ansible.builtin.debug:
msg:
- "{{ hostvars[groups['k8s_control'][0]]['ansible_host'] }}"
- "{{ ansible_host }}"
# ['hosts'][0]