proxmox: set hostname
This commit is contained in:
parent
68efa7adcf
commit
c9479cc786
|
@ -13,6 +13,10 @@
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: 'deb http://download.proxmox.com/debian/pve {{ ansible_distribution_release }} pve-no-subscription'
|
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
|
- name: Add rules to rename network interfaces
|
||||||
template:
|
template:
|
||||||
dest: /etc/udev/rules.d/10-network.rules
|
dest: /etc/udev/rules.d/10-network.rules
|
||||||
|
|
Loading…
Reference in a new issue