diff --git a/roles/proxmox/tasks/main.yml b/roles/proxmox/tasks/main.yml index 9b14992..243caa9 100644 --- a/roles/proxmox/tasks/main.yml +++ b/roles/proxmox/tasks/main.yml @@ -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