proxmox: set hostname

This commit is contained in:
Timotej Lazar 2023-10-20 09:05:54 +02:00
parent 68efa7adcf
commit c9479cc786

View file

@ -13,6 +13,10 @@
apt_repository:
repo: 'deb http://download.proxmox.com/debian/pve {{ ansible_distribution_release }} pve-no-subscription'
- name: Set hostname
hostname:
name: '{{ inventory_hostname }}'
- name: Add rules to rename network interfaces
template:
dest: /etc/udev/rules.d/10-network.rules