mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-10-27 16:53:04 +00:00
Update roles/kube-node/tasks/main.yml
This commit is contained in:
@ -1,8 +1,4 @@
|
|||||||
- name: Definir hostname único por ordem de inventário
|
- name: Definir hostname único
|
||||||
hosts: workers
|
|
||||||
become: yes
|
|
||||||
tasks:
|
|
||||||
- name: Definir hostname como ubuntu-0, ubuntu-1, etc.
|
|
||||||
hostname:
|
hostname:
|
||||||
name: "ubuntu-{{ ansible_play_hosts.index(inventory_hostname) }}"
|
name: "ubuntu-{{ ansible_play_hosts.index(inventory_hostname) }}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user