mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-09-08 21:27:36 +02:00
build
This commit is contained in:
@@ -368,15 +368,11 @@
|
||||
worker_join_cmd: "{{ join_command.stdout }}"
|
||||
when: inventory_hostname.endswith('-vm01.home.lan')
|
||||
|
||||
- name: Print release variable
|
||||
debug:
|
||||
var: ansible_distribution_major_version
|
||||
|
||||
- name: Join cluster
|
||||
command: "{{ hostvars['debian' ~ ansible_distribution_major_version ~ '-vm01.home.lan'].worker_join_cmd }}"
|
||||
args:
|
||||
creates: /etc/kubernetes/kubelet.conf
|
||||
when: not inventory_chostname.endswith('-vm01.home.lan')
|
||||
when: not inventory_hostname.endswith('-vm01.home.lan')
|
||||
|
||||
- name: get repository
|
||||
git:
|
||||
|
||||
Reference in New Issue
Block a user