control plane stand up working
This commit is contained in:
8
ansible/roles/scratch/tasks/main.yaml
Normal file
8
ansible/roles/scratch/tasks/main.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
- name: debug hostname
|
||||
ansible.builtin.debug:
|
||||
msg:
|
||||
- "{{ hostvars[groups['k8s_control'][0]]['ansible_host'] }}"
|
||||
- "{{ ansible_host }}"
|
||||
|
||||
# ['hosts'][0]
|
Reference in New Issue
Block a user